From 7eb248c27be696418bab758f255317e2c9b327aa Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 28 Apr 2021 10:25:36 +0800 Subject: [PATCH] MDL-70909 mod_h5pactivity: Whitespace fix --- mod/h5pactivity/classes/local/manager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/h5pactivity/classes/local/manager.php b/mod/h5pactivity/classes/local/manager.php index 12418754267..aaaabb58f50 100644 --- a/mod/h5pactivity/classes/local/manager.php +++ b/mod/h5pactivity/classes/local/manager.php @@ -185,7 +185,7 @@ class manager { * @param stdClass|null $user user record (default $USER) * @return bool if the user can see the attempts link */ - public function can_view_all_attempts (stdClass $user = null): bool { + public function can_view_all_attempts(stdClass $user = null): bool { global $USER; if (!$this->instance->enabletracking) { return false; @@ -202,7 +202,7 @@ class manager { * @param stdClass|null $user user record (default $USER) * @return bool if the user can see the own attempts link */ - public function can_view_own_attempts (stdClass $user = null): bool { + public function can_view_own_attempts(stdClass $user = null): bool { global $USER; if (!$this->instance->enabletracking) { return false; @@ -334,7 +334,7 @@ class manager { * @param bool $allpotentialusers if true, the join will return all active users, not only the ones with attempts. * @return sql_join the active users attempts join */ - public function get_active_users_join (bool $allpotentialusers = false): sql_join { + public function get_active_users_join(bool $allpotentialusers = false): sql_join { // Only valid users counts. By default, all users with submit capability are considered potential ones. $context = $this->get_context();