16
16
/**
17
17
* View configuration
18
18
*
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
21
21
*/
22
22
class View extends BaseConfig
23
23
{
@@ -40,7 +40,7 @@ class View extends BaseConfig
40
40
* @psalm-suppress UndefinedDocblockClass
41
41
*
42
42
* @var array<string, string>
43
- * @phpstan-var array<string, ParserCallableString >
43
+ * @phpstan-var array<string, parser_callable_string >
44
44
*/
45
45
public $ filters = [];
46
46
@@ -52,15 +52,15 @@ class View extends BaseConfig
52
52
* @psalm-suppress UndefinedDocblockClass
53
53
*
54
54
* @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 >
56
56
*/
57
57
public $ plugins = [];
58
58
59
59
/**
60
60
* Built-in View filters.
61
61
*
62
62
* @var array<string, string>
63
- * @phpstan-var array<string, ParserCallableString >
63
+ * @phpstan-var array<string, parser_callable_string >
64
64
*/
65
65
protected $ coreFilters = [
66
66
'abs ' => '\abs ' ,
@@ -90,7 +90,7 @@ class View extends BaseConfig
90
90
* Built-in View plugins.
91
91
*
92
92
* @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 >
94
94
*/
95
95
protected $ corePlugins = [
96
96
'csp_script_nonce ' => '\CodeIgniter\View\Plugins::cspScriptNonce ' ,
0 commit comments