Skip to content

Commit 73cdb39

Browse files
committed
Update ContainerDynamicReturnTypeExtension.php
1 parent 9b26ffe commit 73cdb39

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build/PHPStan/Build/ContainerDynamicReturnTypeExtension.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,13 @@ public function isMethodSupported(MethodReflection $methodReflection): bool
3333

3434
public function getTypeFromMethodCall(MethodReflection $methodReflection, MethodCall $methodCall, Scope $scope): Type
3535
{
36-
dumpType($methodCall->getArgs());
3736
if (count($methodCall->getArgs()) === 0) {
3837
return ParametersAcceptorSelector::selectFromArgs(
3938
$scope,
4039
$methodCall->getArgs(),
4140
$methodReflection->getVariants(),
4241
)->getReturnType();
4342
}
44-
dumpType($methodCall->getArgs());
4543
$argType = $scope->getType($methodCall->getArgs()[0]->value);
4644
if (!$argType instanceof ConstantStringType) {
4745
return ParametersAcceptorSelector::selectFromArgs(

0 commit comments

Comments
 (0)