Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cd65d0e

Browse filesBrowse files
Rollback code style
1 parent 9059b58 commit cd65d0e
Copy full SHA for cd65d0e

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Normalizer/AbstractObjectNormalizer.php
+5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.