mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
refactor: Add phpDoc for Filters
This commit is contained in:
parent
c430f34720
commit
1dc2f7c918
@ -113,6 +113,8 @@ class Filters extends BaseConfig
|
||||
*
|
||||
* Example:
|
||||
* 'isLoggedIn' => ['before' => ['account/*', 'profiles/*']]
|
||||
*
|
||||
* @var array<string, array<string, list<string>>>
|
||||
*/
|
||||
public array $filters = [];
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -1,12 +1,7 @@
|
||||
# total 47 errors
|
||||
# total 46 errors
|
||||
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: '#^PHPDoc type array\<string, array\<string, list\<string\>\>\> 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\<mysqli,mysqli_result\>\:\:\$escapeChar\.$#'
|
||||
count: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user