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 3b815db commit 692346dCopy full SHA for 692346d
rector.php
@@ -3,6 +3,7 @@
3
declare(strict_types=1);
4
5
use Rector\Config\RectorConfig;
6
+use Rector\DeadCode\Rector\FunctionLike\NarrowTooWideReturnTypeRector;
7
use Rector\TypeDeclaration\Rector\ClassMethod\BoolReturnTypeFromBooleanStrictReturnsRector;
8
9
return RectorConfig::configure()
@@ -21,6 +22,9 @@
21
22
BoolReturnTypeFromBooleanStrictReturnsRector::class => [
23
__DIR__ . '/tests/FilterTest.php',
24
],
25
+ NarrowTooWideReturnTypeRector::class => [
26
+ __DIR__ . '/tests/FilterTest.php',
27
+ ],
28
])
29
->withParallel()
30
->withRootFiles()
0 commit comments