From d65b598378f46a14438e5c78b3acf8e7b17caf33 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 23 Jun 2021 12:56:59 +0200 Subject: [PATCH] Minor - format code, fix path in .scrutinizer.yml --- .scrutinizer.yml | 2 +- public/main/inc/lib/api.lib.php | 1 + public/main/inc/lib/document.lib.php | 1 - public/main/inc/lib/extra_field_value.lib.php | 4 ++-- public/main/inc/lib/text.lib.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 1429c5a0f8..5d95cf89c5 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -20,7 +20,7 @@ filter: - 'assets/*' - 'bin/*' - 'config/*' - - 'documentation/*' + - 'public/documentation/*' - 'public/main/admin/db.php' - 'public/main/admin/ldap_synchro.php' - 'public/main/chat/emoji_strategy.php' diff --git a/public/main/inc/lib/api.lib.php b/public/main/inc/lib/api.lib.php index 211dbd2f9d..f606263619 100644 --- a/public/main/inc/lib/api.lib.php +++ b/public/main/inc/lib/api.lib.php @@ -676,6 +676,7 @@ define('XAPIAN_PREFIX_TOOLID', 'O'); /** * Returns a path to a certain resource within Chamilo. + * * @param string $path A path which type is to be converted. Also, it may be a defined constant for a path. * * @return string the requested path or the converted path diff --git a/public/main/inc/lib/document.lib.php b/public/main/inc/lib/document.lib.php index aa5190d595..d03f6c5d52 100644 --- a/public/main/inc/lib/document.lib.php +++ b/public/main/inc/lib/document.lib.php @@ -5336,5 +5336,4 @@ This folder contains all sessions that have been opened in the chat. Although th return $return; } - } diff --git a/public/main/inc/lib/extra_field_value.lib.php b/public/main/inc/lib/extra_field_value.lib.php index 72d7f3b947..046d660d4b 100644 --- a/public/main/inc/lib/extra_field_value.lib.php +++ b/public/main/inc/lib/extra_field_value.lib.php @@ -1041,8 +1041,8 @@ class ExtraFieldValue extends Model } /** - * @param int $itemId - * @param int $fieldId + * @param int $itemId + * @param int $fieldId * @param string|int $fieldValue * * @return bool diff --git a/public/main/inc/lib/text.lib.php b/public/main/inc/lib/text.lib.php index 0eb8aff8d9..12e1c9a0cc 100644 --- a/public/main/inc/lib/text.lib.php +++ b/public/main/inc/lib/text.lib.php @@ -851,8 +851,8 @@ function api_get_short_text_from_html($text, $number) * @param string $language The language in which we want to get the * * @return string The filtered string in the given language, or the full string if no translated string was identified - *@throws Exception * + *@throws Exception */ function api_get_filtered_multilingual_HTML_string($htmlString, $language = null) {