Skip to content

Commit

Permalink
[TypeDeclaration] Flip position between bool return and return tyep f…
Browse files Browse the repository at this point in the history
…rom strict constant on TypeDeclarationLevel (#6168)
  • Loading branch information
samsonasik committed Jul 21, 2024
1 parent 31724aa commit 1f7cc28
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Config/Level/TypeDeclarationLevel.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ final class TypeDeclarationLevel

ReturnTypeFromMockObjectRector::class,
AddArrowFunctionReturnTypeRector::class,
ReturnTypeFromStrictConstantReturnRector::class,
BoolReturnTypeFromBooleanConstReturnsRector::class,
ReturnTypeFromStrictNewArrayRector::class,

// scalar values
BoolReturnTypeFromBooleanConstReturnsRector::class,
// scalar and array from constant
ReturnTypeFromStrictConstantReturnRector::class,
StringReturnTypeFromStrictScalarReturnsRector::class,
NumericReturnTypeFromStrictScalarReturnsRector::class,

Expand Down

0 comments on commit 1f7cc28

Please sign in to comment.