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