66use CodeIgniter \View \ViewDecoratorInterface ;
77
88/**
9- * @phpstan-type ParserCallable (callable(mixed): mixed)
10- * @phpstan-type ParserCallableString (callable(mixed): mixed)&string
9+ * @phpstan-type parser_callable (callable(mixed): mixed)
10+ * @phpstan-type parser_callable_string (callable(mixed): mixed)&string
1111 */
1212class View extends BaseView
1313{
@@ -35,7 +35,7 @@ class View extends BaseView
3535 * { created_on|date(Y-m-d)|esc(attr) }
3636 *
3737 * @var array<string, string>
38- * @phpstan-var array<string, ParserCallableString >
38+ * @phpstan-var array<string, parser_callable_string >
3939 */
4040 public $ filters = [];
4141
@@ -44,8 +44,8 @@ class View extends BaseView
4444 * by the core Parser by creating aliases that will be replaced with
4545 * any callable. Can be single or tag pair.
4646 *
47- * @var array<string, array <string>|callable |string>
48- * @phpstan-var array<string, array<ParserCallableString>|ParserCallableString|ParserCallable >
47+ * @var array<string, callable|list <string>|string>
48+ * @phpstan-var array<string, list<parser_callable_string>|parser_callable_string|parser_callable >
4949 */
5050 public $ plugins = [];
5151
@@ -56,7 +56,7 @@ class View extends BaseView
5656 *
5757 * All classes must implement CodeIgniter\View\ViewDecoratorInterface
5858 *
59- * @var class-string<ViewDecoratorInterface>[]
59+ * @var list< class-string<ViewDecoratorInterface>>
6060 */
6161 public array $ decorators = [];
6262}
0 commit comments