MDL-81521 core: Update all possibly data providers to be static
Note: Some data providers could not be automatically be converted to being static. These will be handled in a separate issue.
This commit is contained in:
@@ -43,7 +43,7 @@ class dates_test extends advanced_testcase {
|
||||
* Data provider for get_dates_for_module().
|
||||
* @return array[]
|
||||
*/
|
||||
public function get_dates_for_module_provider(): array {
|
||||
public static function get_dates_for_module_provider(): array {
|
||||
$now = time();
|
||||
$before = $now - DAYSECS;
|
||||
$earlier = $before - DAYSECS;
|
||||
|
||||
Reference in New Issue
Block a user