Skip to content

Commit

Permalink
Merge pull request #9438 from othercorey/pack-return
Browse files Browse the repository at this point in the history
Update pack() stub
  • Loading branch information
orklah committed Mar 1, 2023
2 parents 839dc10 + 615986e commit 06266c2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions stubs/Php80.phpstub
Expand Up @@ -240,6 +240,13 @@ class DatePeriod implements IteratorAggregate
*/
function get_headers(string $url, bool $associative = false, $context = null) : array|false {}

/**
* @psalm-pure
*
* @psalm-flow ($values) -> return
*/
function pack(string $format, mixed ...$values): string {}

final class CurlHandle
{
private function __construct()
Expand Down

0 comments on commit 06266c2

Please sign in to comment.