Skip to content

Commit

Permalink
[TypeDeclaration] Set minimum php version for AddReturnTypeDeclaratio…
Browse files Browse the repository at this point in the history
…nBasedOnParentClassMethodRector to php 7.0 (#4647)
  • Loading branch information
samsonasik committed Aug 4, 2023
1 parent 3b9c2f1 commit ae767eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(

public function provideMinPhpVersion(): int
{
return PhpVersionFeature::FATAL_ERROR_ON_INCOMPATIBLE_METHOD_SIGNATURE;
return PhpVersionFeature::SCALAR_TYPES;
}

public function getRuleDefinition(): RuleDefinition
Expand Down

0 comments on commit ae767eb

Please sign in to comment.