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