This commit is contained in:
fbsanchez 2022-01-11 14:46:57 +01:00
parent c3639a22fb
commit 92186aa15f
2 changed files with 4 additions and 4 deletions

View File

@ -166,7 +166,7 @@ function safe_url_extraclean($string, $default_string='')
* @param string $searchHandler Pattern of files to match. * @param string $searchHandler Pattern of files to match.
* @param boolean $return Whether to print or return the list. * @param boolean $return Whether to print or return the list.
* *
* @return string he list of files if $return parameter is true. * @return array the list of files if $return parameter is true.
*/ */
function list_files($directory, $stringSearch, $searchHandler, $return=false) function list_files($directory, $stringSearch, $searchHandler, $return=false)
{ {

View File

@ -2199,7 +2199,7 @@ class Item extends CachedModel
* *
* @return array Array with default values. * @return array Array with default values.
*/ */
public function getDefaultGeneralValues(array $values): array public static function getDefaultGeneralValues(array $values): array
{ {
global $config; global $config;
@ -2243,7 +2243,7 @@ class Item extends CachedModel
* *
* @return array * @return array
*/ */
public function getListImagesVC(?bool $service=false):array public static function getListImagesVC(?bool $service=false):array
{ {
global $config; global $config;
@ -2367,7 +2367,7 @@ class Item extends CachedModel
* *
* @return array Inputs. * @return array Inputs.
*/ */
public function inputsLinkedVisualConsole(array $values):array public static function inputsLinkedVisualConsole(array $values):array
{ {
// LinkConsoleInputGroup. // LinkConsoleInputGroup.
$fields = self::getAllVisualConsole($values['vCId']); $fields = self::getAllVisualConsole($values['vCId']);