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 740abbe

Browse filesBrowse files
committed
[Serializer] readd default argument value
1 parent 3bc7b3a commit 740abbe
Copy full SHA for 740abbe

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

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