property normalizer should also pass format and context to isAllowedAttribute

This commit is contained in:
David Buchmann 2019-04-11 07:44:34 +02:00
parent 32c448f639
commit 13e2fb735d
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class PropertyNormalizer extends AbstractObjectNormalizer
do {
foreach ($reflectionObject->getProperties() as $property) {
if (!$this->isAllowedAttribute($reflectionObject->getName(), $property->name)) {
if (!$this->isAllowedAttribute($reflectionObject->getName(), $property->name, $format, $context)) {
continue;
}