Skip to content

Commit bee9f60

Browse files
Merge pull request #173 from mordy/patch/unknown-param
the name 'assoc' is wrong, just leave it as true
2 parents 15b8d72 + b74d68f commit bee9f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IncomingTask.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private function __construct(private readonly array $task)
2121
public static function fromJson(string $payload): self
2222
{
2323
try {
24-
$decode = json_decode($payload, assoc: true);
24+
$decode = json_decode($payload, true);
2525

2626
return new self(is_array($decode) ? $decode : []);
2727
} catch (JsonException) {

0 commit comments

Comments
 (0)