diff --git a/system/Config/Filters.php b/system/Config/Filters.php index 562eae8a26..7eddc721bf 100644 --- a/system/Config/Filters.php +++ b/system/Config/Filters.php @@ -113,6 +113,8 @@ class Filters extends BaseConfig * * Example: * 'isLoggedIn' => ['before' => ['account/*', 'profiles/*']] + * + * @var array>> */ public array $filters = []; } diff --git a/utils/phpstan-baseline/missingType.iterableValue.neon b/utils/phpstan-baseline/missingType.iterableValue.neon index a520736190..1dc74c4561 100644 --- a/utils/phpstan-baseline/missingType.iterableValue.neon +++ b/utils/phpstan-baseline/missingType.iterableValue.neon @@ -1,4 +1,4 @@ -# total 1672 errors +# total 1671 errors parameters: ignoreErrors: @@ -792,11 +792,6 @@ parameters: count: 1 path: ../../system/Config/Factory.php - - - message: '#^Property CodeIgniter\\Config\\Filters\:\:\$filters type has no value type specified in iterable type array\.$#' - count: 1 - path: ../../system/Config/Filters.php - - message: '#^Method CodeIgniter\\Config\\Services\:\:curlrequest\(\) has parameter \$options with no value type specified in iterable type array\.$#' count: 1 diff --git a/utils/phpstan-baseline/property.phpDocType.neon b/utils/phpstan-baseline/property.phpDocType.neon index f186ad067c..dda215c494 100644 --- a/utils/phpstan-baseline/property.phpDocType.neon +++ b/utils/phpstan-baseline/property.phpDocType.neon @@ -1,12 +1,7 @@ -# total 47 errors +# total 46 errors parameters: ignoreErrors: - - - message: '#^PHPDoc type array\\>\> of property Config\\Filters\:\:\$filters is not the same as PHPDoc type array of overridden property CodeIgniter\\Config\\Filters\:\:\$filters\.$#' - count: 1 - path: ../../app/Config/Filters.php - - message: '#^PHPDoc type string of property CodeIgniter\\Database\\MySQLi\\Connection\:\:\$escapeChar is not the same as PHPDoc type array\|string of overridden property CodeIgniter\\Database\\BaseConnection\\:\:\$escapeChar\.$#' count: 1