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:
@@ -149,7 +149,7 @@ class sessionlib_test extends \advanced_testcase {
|
||||
*
|
||||
* @return array of config and secure result
|
||||
*/
|
||||
public function moodle_cookie_secure_provider() {
|
||||
public static function moodle_cookie_secure_provider(): array {
|
||||
return array(
|
||||
array(
|
||||
// Non ssl, not set.
|
||||
|
||||
Reference in New Issue
Block a user