property normalizer should also pass format and context to isAllowedAttribute
This commit is contained in:
parent
32c448f639
commit
13e2fb735d
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user