From b84db111a17ffb9c4d1fee0e2435673b53d349c9 Mon Sep 17 00:00:00 2001 From: Peter Rundqvist Date: Wed, 8 Sep 2021 10:56:49 +0200 Subject: [PATCH] Fixed codechecker reported issues --- externallib.php | 2 +- tests/externallib_test.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externallib.php b/externallib.php index 0adabfc..d7cbfb6 100644 --- a/externallib.php +++ b/externallib.php @@ -576,7 +576,7 @@ class mod_attendance_external extends external_api { $params = self::validate_parameters(self::get_sessions_parameters(), array( 'attendanceid' => $attendanceid, - )); + )); return attendance_handler::get_sessions($params['attendanceid']); } diff --git a/tests/externallib_test.php b/tests/externallib_test.php index 3a70d8a..18e7ee0 100644 --- a/tests/externallib_test.php +++ b/tests/externallib_test.php @@ -504,6 +504,6 @@ class mod_attendance_external_testcase extends externallib_advanced_testcase { } } } - } + } } }