Skip to content

Commit

Permalink
Mark queue as nullable (#51912)
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald authored Jun 26, 2024
1 parent a2f2dc2 commit b677d67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Events/JobQueued.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class JobQueued
/**
* The queue name.
*
* @var string
* @var string|null
*/
public $queue;

Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ protected function withCreatePayloadHooks($queue, array $payload)
*
* @param \Closure|string|object $job
* @param string $payload
* @param string $queue
* @param string|null $queue
* @param \DateTimeInterface|\DateInterval|int|null $delay
* @param callable $callback
* @return mixed
Expand Down Expand Up @@ -384,7 +384,7 @@ protected function raiseJobQueueingEvent($queue, $job, $payload, $delay)
/**
* Raise the job queued event.
*
* @param string $queue
* @param string|null $queue
* @param string|int|null $jobId
* @param \Closure|string|object $job
* @param string $payload
Expand Down

0 comments on commit b677d67

Please sign in to comment.