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:
@@ -74,8 +74,10 @@ class encryption_test extends \basic_testcase {
|
||||
*
|
||||
* @return array[] Array of method options for test
|
||||
*/
|
||||
public function encryption_method_provider(): array {
|
||||
return ['Sodium' => [encryption::METHOD_SODIUM], 'OpenSSL' => [encryption::METHOD_OPENSSL]];
|
||||
public static function encryption_method_provider(): array {
|
||||
return [
|
||||
'Sodium' => [encryption::METHOD_SODIUM],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user