Skip to content

Commit 131d11f

Browse files
committed
Fixes one unit test
1 parent f21b5ce commit 131d11f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/bitExpert/PHPStan/Magento/Type/TestFrameworkObjectManagerDynamicReturnTypeExtensionUnitTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ public function returnsErrorTypeForUnkownMethodCall(): void
7979
$scope = $this->createMock(Scope::class);
8080
$methodCall = $this->createMock(MethodCall::class);
8181
$methodCall->args = [];
82+
$methodCall->name = new \PhpParser\Node\Identifier('somethingUnknown');
8283

8384
$resultType = $this->extension->getTypeFromMethodCall($methodReflection, $methodCall, $scope);
8485

0 commit comments

Comments
 (0)