mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Merge pull request #8729 from lptn/fix-dictionary-for-strip_tags-function
Fix dictionary for strip_tags
This commit is contained in:
commit
e83ac65e79
@ -13907,7 +13907,7 @@ return [
|
||||
'streamWrapper::unlink' => ['bool', 'path'=>'string'],
|
||||
'streamWrapper::url_stat' => ['array', 'path'=>'string', 'flags'=>'int'],
|
||||
'strftime' => ['string|false', 'format'=>'string', 'timestamp='=>'?int'],
|
||||
'strip_tags' => ['string', 'string'=>'string', 'allowed_tags='=>'string'],
|
||||
'strip_tags' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>|null'],
|
||||
'stripcslashes' => ['string', 'string'=>'string'],
|
||||
'stripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
'stripslashes' => ['string', 'string'=>'string'],
|
||||
|
@ -45,6 +45,10 @@ return [
|
||||
'old' => ['resource|false', 'command'=>'string', 'descriptor_spec'=>'array', '&pipes'=>'resource[]', 'cwd='=>'?string', 'env_vars='=>'?array', 'options='=>'?array'],
|
||||
'new' => ['resource|false', 'command'=>'string|array', 'descriptor_spec'=>'array', '&pipes'=>'resource[]', 'cwd='=>'?string', 'env_vars='=>'?array', 'options='=>'?array'],
|
||||
],
|
||||
'strip_tags' => [
|
||||
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'string'],
|
||||
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>'],
|
||||
],
|
||||
],
|
||||
'removed' => [
|
||||
],
|
||||
|
@ -1393,6 +1393,10 @@ return [
|
||||
'old' => ['string|false', 'format'=>'string', 'timestamp='=>'int'],
|
||||
'new' => ['string|false', 'format'=>'string', 'timestamp='=>'?int'],
|
||||
],
|
||||
'strip_tags' => [
|
||||
'old' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>'],
|
||||
'new' => ['string', 'string'=>'string', 'allowed_tags='=>'string|list<non-empty-string>|null'],
|
||||
],
|
||||
'stripos' => [
|
||||
'old' => ['int|false', 'haystack'=>'string', 'needle'=>'string|int', 'offset='=>'int'],
|
||||
'new' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user