Skip to content

Commit

Permalink
Make dataprovider in JStringTest static
Browse files Browse the repository at this point in the history
  • Loading branch information
rjd22 committed Mar 4, 2024
1 parent 11a6624 commit 6b8159f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/Helper/JStringTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function it_checks_for_string_float(bool $given, bool $expected): void
self::assertSame($expected, $given);
}

public function stringFloatProvider(): array
public static function stringFloatProvider(): array
{
return [
[JString::isStringFloat('3.123'), true],
Expand Down

0 comments on commit 6b8159f

Please sign in to comment.