Skip to content

Commit

Permalink
Merge pull request #6104 from staabm/patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan authored Jul 15, 2021
2 parents 35b6a93 + e037c44 commit c5190f0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stubs/CoreGenericFunctions.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,12 @@ function strtolower(string $str) : string {}
/**
* @psalm-pure
*
* @return (
* $str is non-falsy-string
* ? non-falsy-string
* : ($str is non-empty-string ? non-empty-string : string)
* )
*
* @psalm-flow ($str) -> return
*/
function strtoupper(string $str) : string {}
Expand Down

0 comments on commit c5190f0

Please sign in to comment.