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 b638601 commit f7277d2Copy full SHA for f7277d2
Mapping/DocumentParser.php
@@ -439,7 +439,7 @@ private function getDocumentPropertiesReflection(\ReflectionClass $reflectionCla
439
$properties = [];
440
441
foreach ($reflectionClass->getProperties() as $property) {
442
- if (!in_array($property->getName(), $properties)) {
+ if (!array_key_exists($property->getName(), $properties)) {
443
$properties[$property->getName()] = $property;
444
}
445
0 commit comments