Skip to content

Commit

Permalink
[TypeDeclaration] Add AddReturnTypeDeclarationBasedOnParentClassMetho…
Browse files Browse the repository at this point in the history
…dRector to type-declaration config set (#2702)
  • Loading branch information
samsonasik committed Jul 22, 2022
1 parent 1836de9 commit c4d6f19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/set/type-declaration.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\ClassMethod\AddArrayParamDocTypeRector;
use Rector\TypeDeclaration\Rector\ClassMethod\AddArrayReturnDocTypeRector;
use Rector\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationBasedOnParentClassMethodRector;
use Rector\TypeDeclaration\Rector\ClassMethod\ParamAnnotationIncorrectNullableRector;
use Rector\TypeDeclaration\Rector\ClassMethod\ParamTypeByMethodCallTypeRector;
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnAnnotationIncorrectNullableRector;
Expand All @@ -28,5 +29,6 @@
ReturnAnnotationIncorrectNullableRector::class,
VarAnnotationIncorrectNullableRector::class,
ParamAnnotationIncorrectNullableRector::class,
AddReturnTypeDeclarationBasedOnParentClassMethodRector::class,
]);
};

0 comments on commit c4d6f19

Please sign in to comment.