We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0c8b7 commit 3a0b3e0Copy full SHA for 3a0b3e0
2 files changed
phpstan.neon
@@ -354,5 +354,3 @@ parameters:
354
-
355
path: rules/Renaming/Rector/Name/RenameClassRector.php
356
identifier: return.type
357
358
- - '#Method Rector\\(.*?)Rector\:\:refactor\(\) never returns \d so it can be removed from the return type#'
src/Contract/Rector/RectorInterface.php
@@ -5,7 +5,6 @@
5
namespace Rector\Contract\Rector;
6
7
use PhpParser\Node;
8
-use PhpParser\NodeTraverser;
9
use PhpParser\NodeVisitor;
10
use Symplify\RuleDocGenerator\Contract\DocumentedRuleInterface;
11
@@ -21,7 +20,7 @@ public function getNodeTypes(): array;
21
20
22
/**
23
* Process Node of matched type
24
- * @return Node|Node[]|null|NodeTraverser::*
+ * @return Node|Node[]|null|int
25
*/
26
public function refactor(Node $node);
27
}
0 commit comments