Skip to content

Commit bbfe62a

Browse files
author
MacGregor, Bradley R (Bradley.MacGregor@charter.com)
committed
RabbitMQJob: Match signatures to Illuminate\Contracts\Queue\Job to fix Laravel exceptions
1 parent d06427b commit bbfe62a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Queue/Jobs/RabbitMQJob.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getRawBody(): string
7070
/**
7171
* {@inheritdoc}
7272
*/
73-
public function attempts(): int
73+
public function attempts()
7474
{
7575
if (! $data = $this->getRabbitMQMessageHeaders()) {
7676
return 1;
@@ -99,7 +99,7 @@ public function markAsFailed(): void
9999
*
100100
* @throws BindingResolutionException
101101
*/
102-
public function delete(): void
102+
public function delete()
103103
{
104104
parent::delete();
105105

@@ -122,7 +122,7 @@ public function delete(): void
122122
*
123123
* @throws AMQPProtocolChannelException
124124
*/
125-
public function release($delay = 0): void
125+
public function release($delay = 0)
126126
{
127127
parent::release();
128128

0 commit comments

Comments
 (0)