Skip to content

Commit 68bb0cc

Browse files
committed
register AddClosureParamTypeForArrayMapRector in type declaration level
1 parent e164069 commit 68bb0cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Config/Level/TypeDeclarationLevel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
use Rector\TypeDeclaration\Rector\FuncCall\AddArrayFunctionClosureParamTypeRector;
5757
use Rector\TypeDeclaration\Rector\FuncCall\AddArrowFunctionParamArrayWhereDimFetchRector;
5858
use Rector\TypeDeclaration\Rector\Function_\AddFunctionVoidReturnTypeWhereNoReturnRector;
59+
use Rector\TypeDeclaration\Rector\FunctionLike\AddClosureParamTypeForArrayMapRector;
5960
use Rector\TypeDeclaration\Rector\FunctionLike\AddParamTypeSplFixedArrayRector;
6061
use Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector;
6162
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
@@ -130,6 +131,7 @@ final class TypeDeclarationLevel
130131

131132
// closures
132133
AddClosureNeverReturnTypeRector::class,
134+
AddClosureParamTypeForArrayMapRector::class,
133135
ClosureReturnTypeRector::class,
134136
AddArrowFunctionParamArrayWhereDimFetchRector::class,
135137

0 commit comments

Comments
 (0)