Skip to content

Commit

Permalink
Fix LateResolvableTypeTrait
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 1, 2023
1 parent f60ac61 commit bc28286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Traits/LateResolvableTypeTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function isSuperTypeOfDefault(Type $type): TrinaryLogic

public function canAccessProperties(): TrinaryLogic
{
return $this->resolve()->canAccessConstants();
return $this->resolve()->canAccessProperties();
}

public function hasProperty(string $propertyName): TrinaryLogic
Expand Down

0 comments on commit bc28286

Please sign in to comment.