Skip to content

Commit

Permalink
[FIX] PHP8.1 Job should either be compatible with JsonSerializable::j…
Browse files Browse the repository at this point in the history
…sonSerialize
  • Loading branch information
Roman Dmitrienko committed Dec 23, 2023
1 parent b28e435 commit d8fe010
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public static function fromArray(array $arr): self
return new self($arr['name'], $arr['data'], $metadata);
}

#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return [
Expand Down

0 comments on commit d8fe010

Please sign in to comment.