Skip to content

Commit

Permalink
natural
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 1, 2024
1 parent 61c87f8 commit 4b99765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Configuration/Levels/LevelRulesResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final class LevelRulesResolver
*/
public static function resolve(int $level, array $availableRules, string $methodName): array
{
Assert::positiveInteger($level);
Assert::natural($level);
Assert::allIsAOf($availableRules, RectorInterface::class);

$rulesCount = count($availableRules);
Expand Down

0 comments on commit 4b99765

Please sign in to comment.