1616/**
1717 * View configuration
1818 *
19- * @phpstan-type ParserCallable (callable(mixed): mixed)
20- * @phpstan-type ParserCallableString (callable(mixed): mixed)&string
19+ * @phpstan-type parser_callable (callable(mixed): mixed)
20+ * @phpstan-type parser_callable_string (callable(mixed): mixed)&string
2121 */
2222class View extends BaseConfig
2323{
@@ -40,7 +40,7 @@ class View extends BaseConfig
4040 * @psalm-suppress UndefinedDocblockClass
4141 *
4242 * @var array<string, string>
43- * @phpstan-var array<string, ParserCallableString >
43+ * @phpstan-var array<string, parser_callable_string >
4444 */
4545 public $ filters = [];
4646
@@ -52,15 +52,15 @@ class View extends BaseConfig
5252 * @psalm-suppress UndefinedDocblockClass
5353 *
5454 * @var array<string, array<string>|callable|string>
55- * @phpstan-var array<string, array<ParserCallableString>|ParserCallableString|ParserCallable >
55+ * @phpstan-var array<string, array<parser_callable_string>|parser_callable_string|parser_callable >
5656 */
5757 public $ plugins = [];
5858
5959 /**
6060 * Built-in View filters.
6161 *
6262 * @var array<string, string>
63- * @phpstan-var array<string, ParserCallableString >
63+ * @phpstan-var array<string, parser_callable_string >
6464 */
6565 protected $ coreFilters = [
6666 'abs ' => '\abs ' ,
@@ -90,7 +90,7 @@ class View extends BaseConfig
9090 * Built-in View plugins.
9191 *
9292 * @var array<string, array<string>|callable|string>
93- * @phpstan-var array<string, array<ParserCallableString>|ParserCallableString|ParserCallable >
93+ * @phpstan-var array<string, array<parser_callable_string>|parser_callable_string|parser_callable >
9494 */
9595 protected $ corePlugins = [
9696 'csp_script_nonce ' => '\CodeIgniter\View\Plugins::cspScriptNonce ' ,
0 commit comments