Skip to content

Commit 6e4f04e

Browse files
committed
Merge branch '10.x'
2 parents 1e8bb52 + fff5b0b commit 6e4f04e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/Illuminate/Foundation/Providers/FoundationServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function register()
7575
}
7676

7777
/**
78-
* Register an var dumper (with source) to debug variables.
78+
* Register a var dumper (with source) to debug variables.
7979
*
8080
* @return void
8181
*/

src/Illuminate/Support/Testing/Fakes/BatchFake.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Illuminate\Bus\Batch;
77
use Illuminate\Bus\UpdatedBatchJobCounts;
88
use Illuminate\Support\Carbon;
9+
use Illuminate\Support\Collection;
910

1011
class BatchFake extends Batch
1112
{
@@ -79,6 +80,8 @@ public function fresh()
7980
*/
8081
public function add($jobs)
8182
{
83+
$jobs = Collection::wrap($jobs);
84+
8285
foreach ($jobs as $job) {
8386
$this->added[] = $job;
8487
}

0 commit comments

Comments
 (0)