We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15b8d72 commit b74d68fCopy full SHA for b74d68f
src/IncomingTask.php
@@ -21,7 +21,7 @@ private function __construct(private readonly array $task)
21
public static function fromJson(string $payload): self
22
{
23
try {
24
- $decode = json_decode($payload, assoc: true);
+ $decode = json_decode($payload, true);
25
26
return new self(is_array($decode) ? $decode : []);
27
} catch (JsonException) {
0 commit comments