We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 613bb5b commit 5145a83Copy full SHA for 5145a83
src/Metadata/Util/AttributeFilterExtractorTrait.php
@@ -49,7 +49,7 @@ private function getFilterProperties(ApiFilter $filterAttribute, \ReflectionClas
49
if ($filterAttribute->properties) {
50
foreach ($filterAttribute->properties as $property => $strategy) {
51
if (\is_int($property)) {
52
- $properties[$strategy] = null;
+ $properties[$strategy] = $properties[$strategy] = null !== $reflectionProperty ? $filterAttribute->strategy : null;
53
} else {
54
$properties[$property] = $strategy;
55
}
0 commit comments