From 6ff0f383e5bacfbac93973379d8458a41f7bb8fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Thu, 19 Dec 2024 10:31:02 +0100 Subject: [PATCH] Remove requirement that a string must be non-empty --- src/Json.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Json.php b/src/Json.php index 9a0a6f4..e22ffe7 100644 --- a/src/Json.php +++ b/src/Json.php @@ -17,8 +17,6 @@ final class Json private const DECODE_DEFAULT = JSON_BIGINT_AS_STRING; /** - * param non-empty-string $json - * * @throws UnexpectedValueException */ public static function decode(string $json, ?bool $forceArray = null): mixed