Skip to content

Commit d4107e4

Browse files
committed
Fix
1 parent cbf2b32 commit d4107e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/ObjectType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public function getUnresolvedPropertyPrototype(string $propertyName, ClassMember
229229

230230
$property = RecursionGuard::run($this, static fn () => $nakedClassReflection->getProperty($propertyName, $scope));
231231
if ($property instanceof ErrorType) {
232-
$property = new DummyPropertyReflection();
232+
$property = new DummyPropertyReflection($propertyName);
233233

234234
return new CallbackUnresolvedPropertyPrototypeReflection(
235235
$property,

0 commit comments

Comments
 (0)