Skip to content

Commit 7e55fab

Browse files
authored
Merge pull request vyuldashev#272 from nenadvasic/fix/method-return-type
Fix return type of getJobId() method
2 parents 04b760d + 7358edd commit 7e55fab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Queue/Jobs/RabbitMQJob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ public function release($delay = 0): void
135135
/**
136136
* Get the job identifier.
137137
*
138-
* @return string
138+
* @return string|null
139139
*/
140-
public function getJobId(): string
140+
public function getJobId(): ?string
141141
{
142142
return $this->message->getCorrelationId();
143143
}

0 commit comments

Comments
 (0)