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:
Andrew Nicols
2024-11-19 09:30:51 +08:00
parent ba7e9f33ed
commit 3bd5f52e22
420 changed files with 1514 additions and 1479 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class encryption_test extends advanced_testcase {
*
* @return array[] Array of method options for test
*/
public function encryption_method_provider(): array {
public static function encryption_method_provider(): array {
return [
'Sodium' => [encryption::METHOD_SODIUM],
];