Skip to content

Commit 4bdba08

Browse files
committed
Revert "TEST"
1 parent ee7c678 commit 4bdba08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/PHPStan/Analyser/data/TestDynamicReturnTypeExtensions.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,6 @@ public function specifyTypes(MethodReflection $methodReflection, MethodCall $met
332332
new ObjectType(\Bug7385\Iface::class)
333333
);
334334

335-
throw new \Error('reached: ' . $type->describe(\PHPStan\Type\VerbosityLevel::precise()));
336-
337335
return $this->typeSpecifier->create($methodCall->var, $type, TypeSpecifierContext::createNull());
338336
}
339337
}

0 commit comments

Comments
 (0)