Skip to content

Commit 5d9a89d

Browse files
committed
Fix
1 parent 25d1552 commit 5d9a89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/DsMapDynamicMethodThrowTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function isMethodSupported(MethodReflection $methodReflection): bool
1919
&& ($methodReflection->getName() === 'get' || $methodReflection->getName() === 'remove');
2020
}
2121

22-
public function getThrowTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): Type|null
22+
public function getThrowTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): ?Type
2323
{
2424
if (count($methodCall->args) < 2) {
2525
return $methodReflection->getThrowType();

0 commit comments

Comments
 (0)