Skip to content

Commit

Permalink
Simplify conditional return
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffycondor committed Dec 18, 2022
1 parent dd76a1e commit 9a22d68
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions stubs/CoreGenericFunctions.phpstub
Expand Up @@ -1116,12 +1116,9 @@ function preg_quote(string $str, ?string $delimiter = null) : string {}
/**
* @psalm-pure
*
* @template TFormat of string
* @template TVal of string|int|float
* @param TFormat $format
* @param TVal $values
* @return (TFormat is non-empty-string
* ? (TVal is non-empty-string|int|float ? non-empty-string : string)
* @param string|int|float $values
* @return ($format is non-empty-string
* ? ($values is non-empty-string|int|float ? non-empty-string : string)
* : string)
*
* @psalm-flow ($format, $values) -> return
Expand Down

0 comments on commit 9a22d68

Please sign in to comment.