Skip to content

Commit 3a3c788

Browse files
committed
- compatibility fix
1 parent f14da84 commit 3a3c788

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Jobs/AMQPJob.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ public function __construct($container, $queue, $channel, $amqpMessage)
5050
*/
5151
public function fire()
5252
{
53-
$payload = json_decode($this->amqpMessage->body, true);
54-
if (is_null($payload))
53+
if (is_null($this->payload()))
5554
$this->delete();
5655
else
57-
$this->resolveAndFire($payload);
56+
$this->fire();
5857
}
5958

6059
/**

0 commit comments

Comments
 (0)