We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35f236 commit 167380dCopy full SHA for 167380d
src/ValueObjects/Checksum.php
@@ -18,9 +18,9 @@ public static function createFromAttributes(array $attributes): self
18
return new self(
19
hash(
20
self::HASHING_ALGORITHM,
21
- json_encode(
+ (string) json_encode(
22
$attributes,
23
- JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_THROW_ON_ERROR
+ JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE
24
)
25
26
);
0 commit comments