Skip to content

Commit

Permalink
cs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 26, 2023
1 parent 42b8344 commit e9171a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Type\Constant\ConstantIntegerType;
use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Rector\PHPUnit\NodeAnalyzer\TestsNodeAnalyzer;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
Expand Down Expand Up @@ -125,7 +126,7 @@ private function matchResponseExpr(Expr $expr): ?Expr
}

$varType = $this->nodeTypeResolver->getType($expr->var);
if (! $varType instanceof \PHPStan\Type\ObjectType) {
if (! $varType instanceof ObjectType) {
return null;
}

Expand Down

0 comments on commit e9171a5

Please sign in to comment.