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:
@@ -394,7 +394,7 @@ class userlib_test extends \advanced_testcase {
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function data_create_user_invalid_username() {
|
||||
public static function data_create_user_invalid_username(): array {
|
||||
return [
|
||||
'empty_string' => [
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user