diff --git a/phpstan.neon b/phpstan.neon index 2b6d45f7..1e81ac4b 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -39,9 +39,9 @@ parameters: - www/vendor # ignore errores with ignoreErrors: - - # in the class_test tree we allow deprecated calls - message: "#^Call to deprecated method #" - path: %currentWorkingDirectory%/www/admin/class_test.*.php + # - # in the class_test tree we allow deprecated calls + # message: "#^Call to deprecated method #" + # path: %currentWorkingDirectory%/www/admin/class_test.*.php # - '#Expression in empty\(\) is always falsy.#' # - # message: '#Reflection error: [a-zA-Z0-9\\_]+ not found.#' diff --git a/www/lib/CoreLibs/Get/System.php b/www/lib/CoreLibs/Get/System.php index 25196b63..3a2bd2b1 100644 --- a/www/lib/CoreLibs/Get/System.php +++ b/www/lib/CoreLibs/Get/System.php @@ -123,7 +123,7 @@ class System * and retuns them in an array with index of io source * if address source has addresses with "," will add "-array" with these as array block * - * @return array + * @return array> */ public static function getIpAddresses(): array { diff --git a/www/lib/CoreLibs/Template/HtmlBuilder/Block.php b/www/lib/CoreLibs/Template/HtmlBuilder/Block.php index 2ef8549c..ec8b9e38 100644 --- a/www/lib/CoreLibs/Template/HtmlBuilder/Block.php +++ b/www/lib/CoreLibs/Template/HtmlBuilder/Block.php @@ -236,10 +236,6 @@ class Block * @param array{tag:string,id:string,name:string,content:string,css:array,options:array,sub:array} $tree * @param bool $add_nl [default=false] * @return string - * - * @param array $tree - * @param bool $add_nl - * @return string */ public static function phfo(array $tree, bool $add_nl = false): string {