Skip to content

Commit d1a9a15

Browse files
authored
Correct facade name in dispatching batches example
The dispatching batches example incorrectly imports the facade as: `Illuminate\Support\Facades\Batch`, however, the correct name is `Illuminate\Support\Facades\Bus`. This typo also causes a duplicate symbol exception with line immediately preceding it: `Illuminate\Bus\Batch`.
1 parent b83e8eb commit d1a9a15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ To dispatch a batch of jobs, you should use `batch` method of the `Bus` facade.
708708
use App\Jobs\ProcessPodcast;
709709
use App\Podcast;
710710
use Illuminate\Bus\Batch;
711-
use Illuminate\Support\Facades\Batch;
711+
use Illuminate\Support\Facades\Bus;
712712
use Throwable;
713713

714714
$batch = Bus::batch([

0 commit comments

Comments
 (0)