Skip to content

Commit 7da9377

Browse files
Fix lint
1 parent 2973ade commit 7da9377

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Type/Php/DateIntervalCreateFromDateStringThrowTypeExtension.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use PHPStan\Type\NeverType;
1313
use PHPStan\Type\Type;
1414
use PHPStan\Type\TypeCombinator;
15+
use Throwable;
1516
use function count;
1617

1718
#[AutowiredService]
@@ -44,7 +45,7 @@ public function getThrowTypeFromStaticMethodCall(MethodReflection $methodReflect
4445
foreach ($constantStrings as $constantString) {
4546
try {
4647
@DateInterval::createFromDateString($constantString->getValue());
47-
} catch (\Throwable) {
48+
} catch (Throwable) {
4849
return $methodReflection->getThrowType();
4950
}
5051

0 commit comments

Comments
 (0)