Make phpunit provider methods static

This commit is contained in:
Jonny Barnes 2023-04-07 15:39:49 +01:00
parent 2b1090130f
commit aedbb4b327
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class HelpersTest extends TestCase
$this->assertEquals($expected, prettyPrintJson($json)); $this->assertEquals($expected, prettyPrintJson($json));
} }
public function urlProvider(): array public static function urlProvider(): array
{ {
return [ return [
['https://example.org/', 'https://example.org'], ['https://example.org/', 'https://example.org'],

View file

@ -42,7 +42,7 @@ class TagsTest extends TestCase
$this->assertSame($expected, Tag::normalize($input)); $this->assertSame($expected, Tag::normalize($input));
} }
public function tagsProvider(): array public static function tagsProvider(): array
{ {
return [ return [
['test', 'test'], ['test', 'test'],