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 1d25035 commit 22d3e63Copy full SHA for 22d3e63
rector.php
@@ -2,6 +2,7 @@
2
3
declare(strict_types=1);
4
5
+use Rector\CodingStyle\Rector\FunctionLike\FunctionLikeToFirstClassCallableRector;
6
use Rector\Config\RectorConfig;
7
use Rector\DeadCode\Rector\FunctionLike\NarrowTooWideReturnTypeRector;
8
use Rector\TypeDeclaration\Rector\ClassMethod\BoolReturnTypeFromBooleanStrictReturnsRector;
@@ -25,6 +26,8 @@
25
26
NarrowTooWideReturnTypeRector::class => [
27
__DIR__ . '/tests/FilterTest.php',
28
],
29
+
30
+ FunctionLikeToFirstClassCallableRector::class,
31
])
32
->withSets([
33
__DIR__ . '/vendor/rector/rector/config/set/type-declaration-docblocks.php',
0 commit comments