Skip to content

Commit b2b003b

Browse files
committed
Updated Rector to commit 38ecb98e65a29d6a774f93013a32cf8d8d4e482e
rectorphp/rector-src@38ecb98 register AddClosureParamTypeForArrayReduceRector to type declaration level
1 parent 1c61ecd commit b2b003b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '68bb0cca86e28df97a3bca15f0f85836b7b87ea4';
22+
public const PACKAGE_VERSION = '38ecb98e65a29d6a774f93013a32cf8d8d4e482e';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2025-10-23 00:08:32';
27+
public const RELEASE_DATE = '2025-10-23 00:09:12';
2828
/**
2929
* @var int
3030
*/

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\AddArrowFunctionParamArrayWhereDimFetchRector;
5757
use Rector\TypeDeclaration\Rector\Function_\AddFunctionVoidReturnTypeWhereNoReturnRector;
5858
use Rector\TypeDeclaration\Rector\FunctionLike\AddClosureParamTypeForArrayMapRector;
59+
use Rector\TypeDeclaration\Rector\FunctionLike\AddClosureParamTypeForArrayReduceRector;
5960
use Rector\TypeDeclaration\Rector\FunctionLike\AddParamTypeSplFixedArrayRector;
6061
use Rector\TypeDeclaration\Rector\FunctionLike\AddReturnTypeDeclarationFromYieldsRector;
6162
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
@@ -117,6 +118,7 @@ final class TypeDeclarationLevel
117118
// closures
118119
AddClosureNeverReturnTypeRector::class,
119120
AddClosureParamTypeForArrayMapRector::class,
121+
AddClosureParamTypeForArrayReduceRector::class,
120122
ClosureReturnTypeRector::class,
121123
AddArrowFunctionParamArrayWhereDimFetchRector::class,
122124
// more risky rules

0 commit comments

Comments
 (0)