Skip to content

Commit

Permalink
Merge pull request #9322 from othercorey/fix-strpos-stub
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Feb 16, 2023
2 parents 07445c9 + 3ddeece commit 0a8d686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/CoreGenericFunctions.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ function array_merge_recursive(array ...$arrays)

/**
* @psalm-pure
*
*
* @no-named-arguments
*
* @psalm-template TKey as array-key
Expand Down Expand Up @@ -629,7 +629,7 @@ function substr_replace($string, $replace, $offset, $length = null) {}
*
* @psalm-return positive-int|0|false
*/
function strpos($haystack, $needle, int $offset = 0) : int {}
function strpos($haystack, $needle, int $offset = 0) : int|false {}

/**
* @psalm-pure
Expand Down

0 comments on commit 0a8d686

Please sign in to comment.