From 347d57779827f9e494ba59947cb68353d4bdf714 Mon Sep 17 00:00:00 2001 From: Bernhard Fischer Date: Fri, 20 Dec 2024 11:43:53 +0100 Subject: [PATCH] Linting --- classes/shortcodes.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/classes/shortcodes.php b/classes/shortcodes.php index 84baeeff7..ccdd993e8 100644 --- a/classes/shortcodes.php +++ b/classes/shortcodes.php @@ -832,7 +832,7 @@ private static function init_table_for_courses(?booking $booking = null, ?string /** * Add filter displaying the possible instances of mod booking. * - * @param mixed $table + * @param mixed $table reference to table * * @return void * @@ -853,12 +853,11 @@ private static function apply_bookinginstance_filter(&$table) { /** * Modify there wherearray via arguments. * - * @param array $args - * + * @param array $args reference to args + * @param array $wherearray reference to wherearray * @return string - * */ - private static function set_wherearray_from_arguments(array &$args, &$wherearray) { + private static function set_wherearray_from_arguments(array &$args, array &$wherearray) { global $DB;