Minor - format code, fix path in .scrutinizer.yml

pull/3924/head
Julio Montoya 4 years ago
parent 1bd16cf642
commit d65b598378
  1. 2
      .scrutinizer.yml
  2. 1
      public/main/inc/lib/api.lib.php
  3. 1
      public/main/inc/lib/document.lib.php
  4. 4
      public/main/inc/lib/extra_field_value.lib.php
  5. 2
      public/main/inc/lib/text.lib.php

@ -20,7 +20,7 @@ filter:
- 'assets/*' - 'assets/*'
- 'bin/*' - 'bin/*'
- 'config/*' - 'config/*'
- 'documentation/*' - 'public/documentation/*'
- 'public/main/admin/db.php' - 'public/main/admin/db.php'
- 'public/main/admin/ldap_synchro.php' - 'public/main/admin/ldap_synchro.php'
- 'public/main/chat/emoji_strategy.php' - 'public/main/chat/emoji_strategy.php'

@ -676,6 +676,7 @@ define('XAPIAN_PREFIX_TOOLID', 'O');
/** /**
* Returns a path to a certain resource within Chamilo. * 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. * @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 * @return string the requested path or the converted path

@ -5336,5 +5336,4 @@ This folder contains all sessions that have been opened in the chat. Although th
return $return; return $return;
} }
} }

@ -1041,8 +1041,8 @@ class ExtraFieldValue extends Model
} }
/** /**
* @param int $itemId * @param int $itemId
* @param int $fieldId * @param int $fieldId
* @param string|int $fieldValue * @param string|int $fieldValue
* *
* @return bool * @return bool

@ -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 * @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 * @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) function api_get_filtered_multilingual_HTML_string($htmlString, $language = null)
{ {

Loading…
Cancel
Save