mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Added more fine grained strpos stub (#4101)
* Added strpos stub * Update CoreGenericFunctions.phpstub * Update CoreGenericFunctions.phpstub
This commit is contained in:
parent
472c2839ad
commit
c2ee9700b0
@ -481,6 +481,13 @@ function strtolower(string $str) : string {}
|
||||
*/
|
||||
function strtoupper(string $str) : string {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
* @psalm-return positive-int|0|false
|
||||
*/
|
||||
function strpos(string $haystack, $needle, int $offset = 0) : int {}
|
||||
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user