Skip to content

Commit c19e56a

Browse files
committed
Fix
1 parent 5ef62df commit c19e56a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/Type/Constant/ConstantArrayType.php

+1
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,7 @@ public function getCallableParametersAcceptors(ClassMemberAccessAnswerer $scope)
478478
}
479479

480480
$method = $typeAndMethodName->getType()
481+
->getObjectTypeOrClassStringObjectType()
481482
->getMethod($typeAndMethodName->getMethod(), $scope);
482483

483484
if (!$scope->canCallMethod($method)) {

0 commit comments

Comments
 (0)