MDL-71189 core_completion: Updates to meet current coding standards

This commit is contained in:
Michael Hawkins
2021-05-03 13:36:11 +08:00
parent 0a986fdf13
commit c997fc7784
3 changed files with 7 additions and 7 deletions
@@ -169,19 +169,19 @@ abstract class activity_custom_completion {
* @param string $rule The completion rule.
* @return int The completion state.
*/
public abstract function get_state(string $rule): int;
abstract public function get_state(string $rule): int;
/**
* Fetch the list of custom completion rules that this module defines.
*
* @return array
*/
public abstract static function get_defined_custom_rules(): array;
abstract public static function get_defined_custom_rules(): array;
/**
* Returns an associative array of the descriptions of custom completion rules.
*
* @return array
*/
public abstract function get_custom_rule_descriptions(): array;
abstract public function get_custom_rule_descriptions(): array;
}