mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Merge pull request #10151 from weirdan/strrchr-before_needle
This commit is contained in:
commit
8bfcf473b9
@ -12987,7 +12987,7 @@ return [
|
||||
'strpbrk' => ['string|false', 'string'=>'string', 'characters'=>'string'],
|
||||
'strpos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
'strptime' => ['array|false', 'timestamp'=>'string', 'format'=>'string'],
|
||||
'strrchr' => ['string|false', 'haystack'=>'string', 'needle'=>'string'],
|
||||
'strrchr' => ['string|false', 'haystack'=>'string', 'needle'=>'string', 'before_needle='=>'bool'],
|
||||
'strrev' => ['string', 'string'=>'string'],
|
||||
'strripos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
'strrpos' => ['int|false', 'haystack'=>'string', 'needle'=>'string', 'offset='=>'int'],
|
||||
|
@ -113,6 +113,10 @@ return [
|
||||
'old' => ['?bool', 'text'=>'string'],
|
||||
'new' => ['bool', 'text'=>'string'],
|
||||
],
|
||||
'strrchr' => [
|
||||
'old' => ['string|false', 'haystack'=>'string', 'needle'=>'string'],
|
||||
'new' => ['string|false', 'haystack'=>'string', 'needle'=>'string', 'before_needle='=>'bool'],
|
||||
],
|
||||
],
|
||||
|
||||
'removed' => [
|
||||
|
Loading…
Reference in New Issue
Block a user