Skip to content

Commit

Permalink
Remove requirement that a string must be non-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegamez committed Dec 19, 2024
1 parent 4d54cd1 commit 6ff0f38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ff0f38

Please sign in to comment.