Skip to content

Commit

Permalink
Merge pull request #28086 from cmorbitzer/fix-datetime-doc
Browse files Browse the repository at this point in the history
Fix datetime docstrings
  • Loading branch information
taylorotwell authored Apr 1, 2019
2 parents 8c227e5 + c46bb9f commit 86f5352
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Console/Scheduling/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ public function getSummaryForDisplay()
/**
* Determine the next due date for an event.
*
* @param \DateTime|string $currentTime
* @param \DateTimeInterface|string $currentTime
* @param int $nth
* @param bool $allowCurrentDate
* @return \Illuminate\Support\Carbon
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Contracts/Mail/Mailable.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function queue(Queue $queue);
/**
* Deliver the queued message after the given delay.
*
* @param \DateTime|int $delay
* @param \DateTimeInterface|\DateInterval|int $delay
* @param \Illuminate\Contracts\Queue\Factory $queue
* @return mixed
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Bus/PendingDispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function allOnQueue($queue)
/**
* Set the desired delay for the job.
*
* @param \DateTime|int|null $delay
* @param \DateTimeInterface|\DateInterval|int|null $delay
* @return $this
*/
public function delay($delay)
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Support/Testing/Fakes/QueueFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function pushRaw($payload, $queue = null, array $options = [])
/**
* Push a new job onto the queue after a delay.
*
* @param \DateTime|int $delay
* @param \DateTimeInterface|\DateInterval|int $delay
* @param string $job
* @param mixed $data
* @param string $queue
Expand Down Expand Up @@ -291,7 +291,7 @@ public function pushOn($queue, $job, $data = '')
* Push a new job onto the queue after a delay.
*
* @param string $queue
* @param \DateTime|int $delay
* @param \DateTimeInterface|\DateInterval|int $delay
* @param string $job
* @param mixed $data
* @return mixed
Expand Down

0 comments on commit 86f5352

Please sign in to comment.