8000 property normalizer should also pass format and context to isAllowedA… · symfony/symfony@13e2fb7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13e2fb7

Browse files
committed
property normalizer should also pass format and context to isAllowedAttribute
1 parent 32c448f commit 13e2fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Normalizer/PropertyNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function extractAttributes($object, $format = null, array $context = [
102102

103103
do {
104104
foreach ($reflectionObject->getProperties() as $property) {
105-
if (!$this->isAllowedAttribute($reflectionObject->getName(), $property->name)) {
105+
if (!$this->isAllowedAttribute($reflectionObject->getName(), $property->name, $format, $context)) {
106106
continue;
107107
}
108108

0 commit comments

Comments
 (0)
0