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:
+1
-1
@@ -374,7 +374,7 @@ class external_api_test extends \advanced_testcase {
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function all_external_info_provider(): array {
|
||||
public static function all_external_info_provider(): array {
|
||||
global $DB;
|
||||
|
||||
// We are testing here that all the external function descriptions can be generated without
|
||||
|
||||
Reference in New Issue
Block a user