File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function batch()
35
35
}
36
36
37
37
if ($ this ->batchId ) {
38
- return Container::getInstance ()->make (BatchRepository::class)->find ($ this ->batchId );
38
+ return Container::getInstance ()->make (BatchRepository::class)? ->find($ this ->batchId );
39
39
}
40
40
}
41
41
@@ -74,7 +74,7 @@ public function withBatchId(string $batchId)
74
74
* @param int $failedJobs
75
75
* @param array $failedJobIds
76
76
* @param array $options
77
- * @param \Carbon\CarbonImmutable $createdAt
77
+ * @param \Carbon\CarbonImmutable|null $createdAt
78
78
* @param \Carbon\CarbonImmutable|null $cancelledAt
79
79
* @param \Carbon\CarbonImmutable|null $finishedAt
80
80
* @return array{0: $this, 1: \Illuminate\Support\Testing\Fakes\BatchFake}
@@ -86,7 +86,7 @@ public function withFakeBatch(string $id = '',
86
86
int $ failedJobs = 0 ,
87
87
array $ failedJobIds = [],
88
88
array $ options = [],
89
- CarbonImmutable $ createdAt = null ,
89
+ ? CarbonImmutable $ createdAt = null ,
90
90
?CarbonImmutable $ cancelledAt = null ,
91
91
?CarbonImmutable $ finishedAt = null )
92
92
{
You can’t perform that action at this time.
0 commit comments