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 fafa417 commit 65b2e27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## Unreleased

* Remove requirement that a string must be non-empty

## 1.5.0 - 2024-08-17

* Added support for PHP 8.4
Expand Down
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 65b2e27

Please sign in to comment.