We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f403180 commit 32f11bbCopy full SHA for 32f11bb
1 file changed
rules/TypedCollections/Rector/MethodCall/AssertSameCountOnCollectionToAssertCountRector.php
@@ -4,6 +4,7 @@
4
5
namespace Rector\Doctrine\TypedCollections\Rector\MethodCall;
6
7
+use PhpParser\Node\Expr\StaticCall;
8
use PhpParser\Node;
9
use PhpParser\Node\Arg;
10
use PhpParser\Node\Expr\MethodCall;
@@ -64,14 +65,14 @@ public function test(): void
64
65
66
public function getNodeTypes(): array
67
{
- return [MethodCall::class, Node\Expr\StaticCall::class];
68
+ return [MethodCall::class, StaticCall::class];
69
70
}
71
72
/**
- * @param MethodCall|Node\Expr\StaticCall $node
73
+ * @param MethodCall|StaticCall $node
74
*/
- public function refactor(Node $node): MethodCall|Node\Expr\StaticCall|null
75
+ public function refactor(Node $node): MethodCall|StaticCall|null
76
77
if ($node->isFirstClassCallable()) {
78
return null;
0 commit comments