mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #8152 from othercorey/fix-filter-var
Fix filter_var and filter_var_array signatures
This commit is contained in:
commit
cd54574616
@ -3291,8 +3291,8 @@ return [
|
||||
'filter_input' => ['mixed|false', 'type'=>'int', 'var_name'=>'string', 'filter='=>'int', 'options='=>'array|int'],
|
||||
'filter_input_array' => ['mixed|false', 'type'=>'int', 'options='=>'int|array', 'add_empty='=>'bool'],
|
||||
'filter_list' => ['array'],
|
||||
'filter_var' => ['mixed|false', 'value'=>'mixed', 'filter='=>'int', 'options='=>'mixed'],
|
||||
'filter_var_array' => ['mixed|false', 'array'=>'array', 'options='=>'mixed', 'add_empty='=>'bool'],
|
||||
'filter_var' => ['mixed|false', 'value'=>'mixed', 'filter='=>'int', 'options='=>'array|int'],
|
||||
'filter_var_array' => ['array|false|null', 'array'=>'array', 'options='=>'array|int', 'add_empty='=>'bool'],
|
||||
'FilterIterator::__construct' => ['void', 'iterator'=>'Iterator'],
|
||||
'FilterIterator::accept' => ['bool'],
|
||||
'FilterIterator::current' => ['mixed'],
|
||||
|
@ -10862,8 +10862,8 @@ return [
|
||||
'filter_input' => ['mixed|false', 'type'=>'int', 'var_name'=>'string', 'filter='=>'int', 'options='=>'array|int'],
|
||||
'filter_input_array' => ['mixed|false', 'type'=>'int', 'options='=>'int|array', 'add_empty='=>'bool'],
|
||||
'filter_list' => ['array'],
|
||||
'filter_var' => ['mixed|false', 'value'=>'mixed', 'filter='=>'int', 'options='=>'mixed'],
|
||||
'filter_var_array' => ['mixed|false', 'array'=>'array', 'options='=>'mixed', 'add_empty='=>'bool'],
|
||||
'filter_var' => ['mixed|false', 'value'=>'mixed', 'filter='=>'int', 'options='=>'array|int'],
|
||||
'filter_var_array' => ['array|false|null', 'array'=>'array', 'options='=>'array|int', 'add_empty='=>'bool'],
|
||||
'finfo::__construct' => ['void', 'options='=>'int', 'magic_file='=>'string'],
|
||||
'finfo::buffer' => ['string|false', 'string'=>'string', 'options='=>'int', 'context='=>'resource'],
|
||||
'finfo::file' => ['string|false', 'file_name'=>'string', 'options='=>'int', 'context='=>'resource'],
|
||||
|
@ -95,8 +95,6 @@ class InternalCallMapHandlerTest extends TestCase
|
||||
'enchant_dict_suggest',
|
||||
'enum_exists',
|
||||
'extract',
|
||||
'filter_var',
|
||||
'filter_var_array',
|
||||
// https://www.php.net/manual/en/function.fputcsv.php
|
||||
'fputcsv' => ['8.1'],
|
||||
'get_class_methods',
|
||||
|
Loading…
Reference in New Issue
Block a user