mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 03:16:42 +02:00
Merge branch 'MDL-65292' of https://github.com/stronk7/moodle
This commit is contained in:
commit
3278ce7aba
1147 changed files with 2621 additions and 2617 deletions
|
@ -296,7 +296,7 @@ class helper {
|
|||
* @param string $statusaction A link to 'Run now' option for the task
|
||||
* @return array
|
||||
*/
|
||||
static private function convert_info_into_array(string $tool,
|
||||
private static function convert_info_into_array(string $tool,
|
||||
\moodle_url $link,
|
||||
int $status,
|
||||
string $statusaction = ''): array {
|
||||
|
|
|
@ -39,7 +39,7 @@ class provider implements \core_privacy\local\metadata\null_provider {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get_reason() : string {
|
||||
public static function get_reason(): string {
|
||||
return 'privacy:metadata';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class provider implements \core_privacy\local\metadata\null_provider {
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function get_reason() : string {
|
||||
public static function get_reason(): string {
|
||||
return 'privacy:metadata';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ use core_h5p\local\library\autoloader;
|
|||
* @return bool Returns false if we don't find a file.
|
||||
*/
|
||||
function core_h5p_pluginfile($course, $cm, $context, string $filearea, array $args, bool $forcedownload,
|
||||
array $options = []) : bool {
|
||||
array $options = []): bool {
|
||||
global $DB;
|
||||
|
||||
// Require classes from H5P third party library
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue