Skip to content

Commit 2820014

Browse files
committed
Fix jsonSerialize Deprecation Notice
1 parent 5204cab commit 2820014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Job/Message.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ public function __toString()
136136
}
137137

138138
/**
139-
* @return array
139+
* @return mixed
140140
*/
141-
public function jsonSerialize()
141+
public function jsonSerialize(): mixed
142142
{
143143
return $this->parsedBody;
144144
}

0 commit comments

Comments
 (0)