Skip to content

Commit

Permalink
Improve Bus::batch() doc block (#34888)
Browse files Browse the repository at this point in the history
  • Loading branch information
axlon committed Oct 19, 2020
1 parent 914a203 commit f857dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Bus/Dispatcher.php
Expand Up @@ -146,7 +146,7 @@ public function findBatch(string $batchId)
/**
* Create a new batch of queueable jobs.
*
* @param \Illuminate\Support\Collection|array $jobs
* @param \Illuminate\Support\Collection|array|mixed $jobs
* @return \Illuminate\Bus\PendingBatch
*/
public function batch($jobs)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Bus.php
Expand Up @@ -8,7 +8,7 @@

/**
* @method static \Illuminate\Bus\Batch|null findBatch(string $batchId)
* @method static \Illuminate\Bus\PendingBatch batch(array $jobs)
* @method static \Illuminate\Bus\PendingBatch batch(array|mixed $jobs)
* @method static \Illuminate\Contracts\Bus\Dispatcher map(array $map)
* @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes)
* @method static \Illuminate\Foundation\Bus\PendingChain chain(array $jobs)
Expand Down

0 comments on commit f857dd2

Please sign in to comment.