Skip to content

Commit 3e9ce57

Browse files
committed
phpunit data providers must be static
1 parent 0195e94 commit 3e9ce57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Builder/InsertStatementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testBuilder(string $sql): void
3737
}
3838

3939
/** @return Generator<string, list<string>> */
40-
public function providerForTestBuilder(): Generator
40+
public static function providerForTestBuilder(): Generator
4141
{
4242
yield 'INSERT ... VALUES ...' => ['INSERT INTO tbl(`col1`, `col2`, `col3`) VALUES (1, "str", 3.14)'];
4343

0 commit comments

Comments
 (0)