Skip to content

Commit

Permalink
[Serializer] Fix fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Mar 7, 2024
1 parent 05137a5 commit 507f489
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tests/Normalizer/ObjectNormalizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1043,6 +1043,11 @@ public function __get($name)
return $this->foo = 123;
}
}

public function __isset($name)
{
return 'foo' === $name;
}
}

class FormatAndContextAwareNormalizer extends ObjectNormalizer
Expand Down

0 comments on commit 507f489

Please sign in to comment.