diff --git a/main/admin/user_list_consent.php b/main/admin/user_list_consent.php index 647a8e4c87..77645c594d 100644 --- a/main/admin/user_list_consent.php +++ b/main/admin/user_list_consent.php @@ -268,7 +268,7 @@ function email_filter($email) /** * Returns a mailto-link. * - * @param string $name An email-address + * @param string $name An email-address * @param array $params Deprecated * @param array $row * diff --git a/main/inc/lib/AnnouncementManager.php b/main/inc/lib/AnnouncementManager.php index 3eb48813ff..6ba297d024 100755 --- a/main/inc/lib/AnnouncementManager.php +++ b/main/inc/lib/AnnouncementManager.php @@ -411,7 +411,7 @@ class AnnouncementManager /** * Displays one specific announcement. * - * @param int $id, the id of the announcement you want to display + * @param int $id the id of the announcement you want to display * * @return string */ diff --git a/main/inc/lib/ExerciseCategoryManager.php b/main/inc/lib/ExerciseCategoryManager.php index 0679a40328..d936236863 100644 --- a/main/inc/lib/ExerciseCategoryManager.php +++ b/main/inc/lib/ExerciseCategoryManager.php @@ -23,9 +23,6 @@ class ExerciseCategoryManager extends Model /** * Formats the necessary elements for the given datatype. * - * @param string $type The type of data to which this extra field - * applies (user, course, session, ...) - * * @assert (-1) === false */ public function __construct() diff --git a/main/inc/lib/UnserializeApi.php b/main/inc/lib/UnserializeApi.php index e99ce56c7e..897a56d350 100644 --- a/main/inc/lib/UnserializeApi.php +++ b/main/inc/lib/UnserializeApi.php @@ -13,7 +13,6 @@ class UnserializeApi * * @param string $type * @param string $serialized - * @param bool $ignoreErrors. Optional. * * @return mixed */ diff --git a/main/inc/lib/course_category.lib.php b/main/inc/lib/course_category.lib.php index 42044955d5..d3ed7b1fed 100755 --- a/main/inc/lib/course_category.lib.php +++ b/main/inc/lib/course_category.lib.php @@ -587,7 +587,7 @@ class CourseCategory /** * @param string $category_code - * @param string $searchTerm + * @param string $keyword * @paran bool $avoidCourses * @paran array $conditions * diff --git a/main/inc/lib/display.lib.php b/main/inc/lib/display.lib.php index 29ddd16c17..d15c05bbe2 100755 --- a/main/inc/lib/display.lib.php +++ b/main/inc/lib/display.lib.php @@ -321,7 +321,7 @@ class Display * 'page_nr' = The page to display * 'hide_navigation' = true to hide the navigation * @param array $query_vars Additional variables to add in the query-string - * @param array $form actions Additional variables to add in the query-string + * @param array $form_actions actions Additional variables to add in the query-string * @param mixed An array with bool values to know which columns show. * i.e: $visibility_options= array(true, false) we will only show the first column * Can be also only a bool value. TRUE: show all columns, FALSE: show nothing @@ -363,7 +363,6 @@ class Display * 'page_nr' = The page to display * 'hide_navigation' = true to hide the navigation * @param array $query_vars Additional variables to add in the query-string - * @param array $form actions Additional variables to add in the query-string * @param mixed An array with bool values to know which columns show. i.e: * $visibility_options= array(true, false) we will only show the first column * Can be also only a bool value. TRUE: show all columns, FALSE: show nothing @@ -657,8 +656,6 @@ class Display /** * Prints an