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 7dae80d

Browse filesBrowse files
[Serializer] Fix fixture
1 parent 5bdddc2 commit 7dae80d
Copy full SHA for 7dae80d

File tree

1 file changed

+5
-0
lines changed
Filter options

1 file changed

+5
-0
lines changed

‎src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Serializer/Tests/Normalizer/ObjectNormalizerTest.php
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,11 @@ public function __get($name)
10431043
return $this->foo = 123;
10441044
}
10451045
}
1046+
1047+
public function __isset($name)
1048+
{
1049+
return 'foo' === $name;
1050+
}
10461051
}
10471052

10481053
class FormatAndContextAwareNormalizer extends ObjectNormalizer

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.