mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-05-16 21:41:31 +02:00
Make Moodle linter happy. Mainly tests.
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
|
||||
namespace auth_outage\privacy;
|
||||
|
||||
use core_privacy\local\legacy_polyfill;
|
||||
|
||||
/**
|
||||
* Privacy provider for the authentication manual.
|
||||
*
|
||||
@@ -34,8 +32,6 @@ use core_privacy\local\legacy_polyfill;
|
||||
class provider implements
|
||||
\core_privacy\local\metadata\null_provider {
|
||||
|
||||
use legacy_polyfill;
|
||||
|
||||
/**
|
||||
* Get the language string identifier with the component's language
|
||||
* file to explain why this plugin stores no data.
|
||||
@@ -45,7 +41,7 @@ class provider implements
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function _get_reason() {
|
||||
public static function get_reason() : string {
|
||||
return 'privacy:no_data_reason';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user