Skip to content

Commit 38ecb98

Browse files
committed
register AddClosureParamTypeForArrayReduceRector to type declaration level
1 parent 68bb0cc commit 38ecb98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Config/Level/TypeDeclarationLevel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
use Rector\TypeDeclaration\Rector\FuncCall\AddArrowFunctionParamArrayWhereDimFetchRector;
5858
use Rector\TypeDeclaration\Rector\Function_\AddFunctionVoidReturnTypeWhereNoReturnRector;
5959
use Rector\TypeDeclaration\Rector\FunctionLike\AddClosureParamTypeForArrayMapRector;
60+
use Rector\TypeDeclaration\Rector\FunctionLike\AddClosureParamTypeForArrayReduceRector;
6061
use Rector\TypeDeclaration\Rector\FunctionLike\AddParamTypeSplFixedArrayRector;
6162
use Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector;
6263
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
@@ -132,6 +133,7 @@ final class TypeDeclarationLevel
132133
// closures
133134
AddClosureNeverReturnTypeRector::class,
134135
AddClosureParamTypeForArrayMapRector::class,
136+
AddClosureParamTypeForArrayReduceRector::class,
135137
ClosureReturnTypeRector::class,
136138
AddArrowFunctionParamArrayWhereDimFetchRector::class,
137139

0 commit comments

Comments
 (0)