Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd65d0e

Browse files
Rollback code style
1 parent 9059b58 commit cd65d0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ abstract protected function extractAttributes(object $object, string $format = n
289289

290290
/**
291291
* Gets the attribute value.
292+
*
293+
* @return mixed
292294
*/
293295
abstract protected function getAttributeValue(object $object, string $attribute, string $format = null, array $context = []);
294296

@@ -302,6 +304,9 @@ public function supportsDenormalization(mixed $data, string $type, string $forma
302304
return class_exists($type) || (interface_exists($type, false) && null !== $this->classDiscriminatorResolver?->getMappingForClass($type));
303305
}
304306

307+
/**
308+
* @return mixed
309+
*/
305310
public function denormalize(mixed $data, string $type, string $format = null, array $context = [])
306311
{
307312
if (!isset($context['cache_key'])) {

0 commit comments

Comments
 (0)