Skip to content

Commit d37e687

Browse files
committed
[ci-review] Rector Rectify
1 parent f3195e9 commit d37e687

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rules/Assert/Rector/ClassMethod/AddAssertArrayFromClassMethodDocblockRector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
namespace Rector\Assert\Rector\ClassMethod;
66

7+
use PHPStan\Type\Type;
78
use PhpParser\Node;
89
use PhpParser\Node\Arg;
910
use PhpParser\Node\Expr;
@@ -29,7 +30,6 @@
2930
use Rector\Rector\AbstractRector;
3031
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
3132
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
32-
use Webmozart\Assert\Assert;
3333

3434
/**
3535
* @experimental Check generic array key/value types in runtime with assert. Generics for impatient people.
@@ -194,7 +194,7 @@ private function filterOutExistingStaticCall(array $assertStaticCallStmts, array
194194
});
195195
}
196196

197-
private function matchTypeToAssertMethod(\PHPStan\Type\Type $type): ?string
197+
private function matchTypeToAssertMethod(Type $type): ?string
198198
{
199199
if ($type instanceof IntegerType) {
200200
return 'allInteger';

0 commit comments

Comments
 (0)