From 615986ef10cd01c7a06f8d2f37baa4ebc1f6f5e1 Mon Sep 17 00:00:00 2001 From: Corey Taylor Date: Tue, 28 Feb 2023 23:45:10 -0600 Subject: [PATCH] Update pack() stub --- stubs/Php80.phpstub | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stubs/Php80.phpstub b/stubs/Php80.phpstub index 42e0ad799a5..2f2d5bf0b9b 100644 --- a/stubs/Php80.phpstub +++ b/stubs/Php80.phpstub @@ -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()