We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15b8d72 + b74d68f commit bee9f60Copy full SHA for bee9f60
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