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 8ab60d8 commit 86880d9Copy full SHA for 86880d9
src/Proxy/Factory/StaticProxyFactory.php
@@ -146,7 +146,7 @@ private function skippedFieldsFqns(ClassMetadata $metadata): array
146
$skippedFieldsFqns = [];
147
148
foreach ($metadata->getIdentifierFieldNames() as $idField) {
149
- $skippedFieldsFqns[] = $this->propertyFqcn($metadata->getReflectionProperty($idField));
+ $skippedFieldsFqns[] = $this->propertyFqcn($metadata->getPropertyAccessor($idField)->getUnderlyingReflector());
150
}
151
152
foreach ($metadata->getReflectionClass()->getProperties() as $property) {
0 commit comments