Skip to content

Commit 69b6af6

Browse files
committed
Fixed compatibility with PHPStan 0.12.26
1 parent b5ba674 commit 69b6af6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "~7.1",
10-
"phpstan/phpstan": "^0.12.3"
10+
"phpstan/phpstan": "^0.12.26"
1111
},
1212
"conflict": {
1313
"doctrine/collections": "<1.0",

src/Type/Doctrine/QueryBuilder/QueryBuilderMethodDynamicReturnTypeExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ private function findQueryBuilderTypesInCalledMethod(Scope $scope, MethodCall $m
176176
$methodScope = $scopeFactory->create(
177177
ScopeContext::create($fileName),
178178
$scope->isDeclareStrictTypes(),
179+
[],
179180
$methodReflection,
180181
$scope->getNamespace()
181182
)->enterClass($methodReflection->getDeclaringClass())->enterClassMethod($methodNode, TemplateTypeMap::createEmpty(), [], null, null, null, false, false, false);

0 commit comments

Comments
 (0)