From d115595bccd137660d25e9e05fb656143594b404 Mon Sep 17 00:00:00 2001 From: Fernando Herrero Date: Tue, 19 Nov 2024 15:01:36 +0100 Subject: [PATCH] Update PHPDoc: missing throws InvalidArgumentException --- src/php-8.1-strftime.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/php-8.1-strftime.php b/src/php-8.1-strftime.php index b642dc4..14e8038 100644 --- a/src/php-8.1-strftime.php +++ b/src/php-8.1-strftime.php @@ -27,6 +27,7 @@ * @param integer|string|DateTime $timestamp Timestamp * @param string|null $locale locale * @return string + * @throws InvalidArgumentException * @author BohwaZ */ function strftime (string $format, $timestamp = null, ?string $locale = null) : string {