diff --git a/phpunit/functional/DBmysqlIteratorTest.php b/phpunit/functional/DBmysqlIteratorTest.php index bec08ee2f78..64ef4e7d965 100644 --- a/phpunit/functional/DBmysqlIteratorTest.php +++ b/phpunit/functional/DBmysqlIteratorTest.php @@ -65,7 +65,7 @@ public function testDirectQuery(): void $this->assertStringContainsString($req, $this->it->getSql()); } - protected function legacyQueryProvider(): iterable + public static function legacyQueryProvider(): iterable { yield [ 'input' => 'SELECT * FROM glpi_computers',