diff --git a/app/Config/View.php b/app/Config/View.php index 869df3cbce90..b52d980dc39f 100644 --- a/app/Config/View.php +++ b/app/Config/View.php @@ -39,7 +39,7 @@ class View extends BaseView * by the core Parser by creating aliases that will be replaced with * any callable. Can be single or tag pair. * - * @var array> + * @var array> */ public $plugins = []; diff --git a/composer.json b/composer.json index b4ed62e57e72..727d254598da 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "mikey179/vfsstream": "^1.6.12", "nexusphp/tachycardia": "^2.0", "phpstan/extension-installer": "^1.4", - "phpstan/phpstan": "^2.1.36", + "phpstan/phpstan": "^2.1.55", "phpstan/phpstan-strict-rules": "^2.0", "phpunit/phpcov": "^9.0.2 || ^10.0", "phpunit/phpunit": "^10.5.16 || ^11.2", diff --git a/system/Config/View.php b/system/Config/View.php index c790a40e4ee2..fcfe32f40f1c 100644 --- a/system/Config/View.php +++ b/system/Config/View.php @@ -48,7 +48,7 @@ class View extends BaseConfig * * @psalm-suppress UndefinedDocblockClass * - * @var array> + * @var array> */ public $plugins = []; @@ -84,7 +84,7 @@ class View extends BaseConfig /** * Built-in View plugins. * - * @var array> + * @var array> */ protected $corePlugins = [ 'csp_script_nonce' => '\CodeIgniter\View\Plugins::cspScriptNonce', diff --git a/system/View/Parser.php b/system/View/Parser.php index e9747988a8cb..9a2d7d9d83b1 100644 --- a/system/View/Parser.php +++ b/system/View/Parser.php @@ -60,7 +60,7 @@ class Parser extends View /** * Stores any plugins registered at run-time. * - * @var array> + * @var array> */ protected $plugins = [];