Skip to content

Commit

Permalink
Merge pull request vimeo#9438 from othercorey/pack-return
Browse files Browse the repository at this point in the history
Update pack() stub
  • Loading branch information
orklah authored 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
Original file line number Diff line number Diff line change
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.