Skip to content

Commit

Permalink
property normalizer should also pass format and context to isAllowedA…
Browse files Browse the repository at this point in the history
…ttribute
  • Loading branch information
dbu committed Apr 11, 2019
1 parent 32c448f commit 13e2fb7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,7 +102,7 @@ protected function extractAttributes($object, $format = null, array $context = [

do {
foreach ($reflectionObject->getProperties() as $property) {
if (!$this->isAllowedAttribute($reflectionObject->getName(), $property->name)) {
if (!$this->isAllowedAttribute($reflectionObject->getName(), $property->name, $format, $context)) {
continue;
}

Expand Down

0 comments on commit 13e2fb7

Please sign in to comment.