Skip to content

Commit

Permalink
Make more data providers static
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Sep 20, 2024
1 parent 8ecc8e0 commit 6da1f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Constraints/CssColorValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ public function testInvalidHSLA($cssColor)
->assertRaised();
}

public function getInvalidHSLA(): array
public static function getInvalidHSLA(): array
{
return [['hsla(1000, 1000%, 20000%, 999)'], ['hsla(-100, -10%, -2%, 999)'], ['hsla(a, b, c, d)'], ['hsla(a, b%, c%, d)'], ['hsla( 9 99% , 99 9% , 9 %']];
}
Expand Down

0 comments on commit 6da1f0a

Please sign in to comment.