mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
fix: make datasets static
This commit is contained in:
@ -188,7 +188,7 @@ final class TestCaseMethodFactory
|
||||
|
||||
return <<<EOF
|
||||
|
||||
public function $dataProviderName()
|
||||
public static function $dataProviderName()
|
||||
{
|
||||
return __PestDatasets::get(self::\$__filename, "$methodName");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user