Skip to content

Commit

Permalink
$job can be an object in some methods (#41244)
Browse files Browse the repository at this point in the history
  • Loading branch information
villfa committed Feb 25, 2022
1 parent a2b0f9c commit 59d186c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Illuminate/Support/Testing/Fakes/QueueFake.php
Expand Up @@ -272,7 +272,7 @@ public function size($queue = null)
/**
* Push a new job onto the queue.
*
* @param string $job
* @param string|object $job
* @param mixed $data
* @param string|null $queue
* @return mixed
Expand Down Expand Up @@ -302,7 +302,7 @@ public function pushRaw($payload, $queue = null, array $options = [])
* Push a new job onto the queue after a delay.
*
* @param \DateTimeInterface|\DateInterval|int $delay
* @param string $job
* @param string|object $job
* @param mixed $data
* @param string|null $queue
* @return mixed
Expand All @@ -316,7 +316,7 @@ public function later($delay, $job, $data = '', $queue = null)
* Push a new job onto the queue.
*
* @param string $queue
* @param string $job
* @param string|object $job
* @param mixed $data
* @return mixed
*/
Expand All @@ -330,7 +330,7 @@ public function pushOn($queue, $job, $data = '')
*
* @param string $queue
* @param \DateTimeInterface|\DateInterval|int $delay
* @param string $job
* @param string|object $job
* @param mixed $data
* @return mixed
*/
Expand Down

0 comments on commit 59d186c

Please sign in to comment.