mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-06 07:24:44 +01:00
Make test data providers static and declare array return types in db tests. (#20631)
This commit is contained in:
@@ -19,7 +19,7 @@ class ArrayParserTest extends TestCase
|
||||
$this->arrayParser = new ArrayParser();
|
||||
}
|
||||
|
||||
public function convertProvider()
|
||||
public static function convertProvider(): array
|
||||
{
|
||||
return [
|
||||
['{}', []],
|
||||
|
||||
Reference in New Issue
Block a user