Skip to content

Commit 0728c17

Browse files
committed
update renamed rector config
1 parent a6e439c commit 0728c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6-
use Rector\DeadCode\Rector\FunctionLike\NarrowTooWideReturnTypeRector;
6+
use Rector\DeadCode\Rector\FunctionLike\NarrowWideUnionReturnTypeRector;
77
use Rector\TypeDeclaration\Rector\ClassMethod\BoolReturnTypeFromBooleanStrictReturnsRector;
88

99
return RectorConfig::configure()
@@ -22,7 +22,7 @@
2222
BoolReturnTypeFromBooleanStrictReturnsRector::class => [
2323
__DIR__ . '/tests/FilterTest.php',
2424
],
25-
NarrowTooWideReturnTypeRector::class => [
25+
NarrowWideUnionReturnTypeRector::class => [
2626
__DIR__ . '/tests/FilterTest.php',
2727
],
2828
])

0 commit comments

Comments
 (0)