mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Detailed return type for strtoupper
This commit is contained in:
parent
35b6a9325d
commit
2671ea78da
@ -515,6 +515,10 @@ function strtolower(string $str) : string {}
|
||||
/**
|
||||
* @psalm-pure
|
||||
*
|
||||
* @return (
|
||||
* $str is non-empty-string ? non-empty-string : string
|
||||
* )
|
||||
*
|
||||
* @psalm-flow ($str) -> return
|
||||
*/
|
||||
function strtoupper(string $str) : string {}
|
||||
|
Loading…
Reference in New Issue
Block a user