Skip to content

Commit

Permalink
Merge branch 'MDL-70528-39' of git://github.com/ilyatregubov/moodle i…
Browse files Browse the repository at this point in the history
…nto MOODLE_39_STABLE
  • Loading branch information
vmdef committed Jan 26, 2021
2 parents db6d346 + 1ca2e36 commit aa741e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/h5pactivity/lib.php
Expand Up @@ -314,11 +314,11 @@ function h5pactivity_reset_gradebook(int $courseid, string $type=''): void {
* Return a list of page types
*
* @param string $pagetype current page type
* @param stdClass $parentcontext Block's parent context
* @param stdClass|null $parentcontext Block's parent context
* @param stdClass $currentcontext Current context of block
* @return array array of page types and it's names
*/
function h5pactivity_page_type_list(string $pagetype, stdClass $parentcontext, stdClass $currentcontext): array {
function h5pactivity_page_type_list(string $pagetype, ?stdClass $parentcontext, stdClass $currentcontext): array {
$modulepagetype = [
'mod-h5pactivity-*' => get_string('page-mod-h5pactivity-x', 'h5pactivity'),
];
Expand Down

0 comments on commit aa741e8

Please sign in to comment.