8000
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 6e22f08 commit 8c0e8f7Copy full SHA for 8c0e8f7
src/Symfony/Component/PropertyInfo/Extractor/ReflectionExtractor.php
@@ -592,7 +592,7 @@ private function isAllowedProperty(string $class, string $property): bool
592
try {
593
$reflectionProperty = new \ReflectionProperty($class, $property);
594
595
- return $reflectionProperty->getModifiers() & $this->propertyReflectionFlags;
+ return (bool) ($reflectionProperty->getModifiers() & $this->propertyReflectionFlags);
596
} catch (\ReflectionException $e) {
597
// Return false if the property doesn't exist
598
}
0 commit comments