File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818use Rector \TypeDeclaration \Rector \ClassMethod \AddMethodCallBasedStrictParamTypeRector ;
1919use Rector \TypeDeclaration \Rector \ClassMethod \AddParamTypeBasedOnPHPUnitDataProviderRector ;
2020use Rector \TypeDeclaration \Rector \ClassMethod \AddParamTypeFromPropertyTypeRector ;
21+ use Rector \TypeDeclaration \Rector \ClassMethod \AddReturnDocblockForScalarArrayFromAssignsRector ;
2122use Rector \TypeDeclaration \Rector \ClassMethod \AddReturnTypeDeclarationBasedOnParentClassMethodRector ;
2223use Rector \TypeDeclaration \Rector \ClassMethod \AddReturnTypeFromTryCatchTypeRector ;
2324use Rector \TypeDeclaration \Rector \ClassMethod \AddVoidReturnTypeWhereNoReturnRector ;
@@ -143,7 +144,7 @@ final class TypeDeclarationLevel
143144
144145 // possibly based on docblocks, but also helpful, intentionally last
145146 AddArrayFunctionClosureParamTypeRector::class,
146-
147147 TypedPropertyFromDocblockSetUpDefinedRector::class,
148+ AddReturnDocblockForScalarArrayFromAssignsRector::class,
148149 ];
149150}
You can’t perform that action at this time.
0 commit comments