8000 bug #24810 [Serializer] readd default argument value (xabbuh) · symfony/symfony@f422db8 · GitHub
[go: up one dir, main page]

Skip to content

Commit f422db8

Browse files
committed
bug #24810 [Serializer] readd default argument value (xabbuh)
This PR was merged into the 3.3 branch. Discussion ---------- [Serializer] readd default argument value | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #24649 (comment) | License | MIT | Doc PR | Commits ------- 740abbe [Serializer] readd default argument value
2 parents 3bc7b3a + 740abbe commit f422db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function normalize($object, $format = null, array $context = array())
108108
*
109109
* @return string[]
110110
*/
111-
protected function getAttributes($object, $format, array $context)
111+
protected function getAttributes($object, $format = null, array $context)
112112
{
113113
$class = get_class($object);
114114
$key = $class.'-'.$context['cache_key'];

0 commit comments

Comments
 (0)
0