From e85db07a6cd60d2d1d389e39ed00a013d9a335bb Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 19 Mar 2021 18:09:40 +0700 Subject: [PATCH] change is_a in ThrowWithPreviousExceptionRector --- .../Rector/Catch_/ThrowWithPreviousExceptionRector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/CodeQuality/Rector/Catch_/ThrowWithPreviousExceptionRector.php b/rules/CodeQuality/Rector/Catch_/ThrowWithPreviousExceptionRector.php index e0375d31905..a6a41011430 100644 --- a/rules/CodeQuality/Rector/Catch_/ThrowWithPreviousExceptionRector.php +++ b/rules/CodeQuality/Rector/Catch_/ThrowWithPreviousExceptionRector.php @@ -16,7 +16,7 @@ use PhpParser\Node\Stmt\Throw_; use PhpParser\NodeTraverser; use PHPStan\Reflection\ReflectionProvider; -use PHPStan\Type\ObjecType; +use PHPStan\Type\ObjectType; use PHPStan\Type\TypeWithClassName; use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\MethodName;