Skip to content

Commit 271db64

Browse files
staabmondrejmirtes
authored andcommitted
Drop inline @var
phpstan is able to infer this types without additional magic required
1 parent 39e4b77 commit 271db64

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Type/Doctrine/QueryBuilder/OtherMethodQueryBuilderParser.php

-3
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ private function findQueryBuilderTypesInCalledMethod(Scope $scope, MethodCall $m
9999
return [];
100100
}
101101

102-
/** @var NodeScopeResolver $nodeScopeResolver */
103102
$nodeScopeResolver = $this->container->getByType(NodeScopeResolver::class);
104-
105-
/** @var ScopeFactory $scopeFactory */
106103
$scopeFactory = $this->container->getByType(ScopeFactory::class);
107104

108105
$methodScope = $scopeFactory->create(ScopeContext::create($fileName));

0 commit comments

Comments
 (0)