Skip to content

Commit 499e4da

Browse files
committed
fix documentation
1 parent 738fadf commit 499e4da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced-usage/batch-logs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To verify if a batch is open or closed you can do the following:
7979

8080
```php
8181
// in middleware
82-
LogBatch::openBatch();
82+
LogBatch::startBatch();
8383

8484
//... Other middlewares
8585

@@ -129,7 +129,7 @@ class SomeJob
129129
{
130130
public function handle(string $value, string $batchUuid = null)
131131
{
132-
LogBatch::openBatch();
132+
LogBatch::startBatch();
133133
if($batchUuid) LogBatch::setBatch($batchUuid);
134134

135135
// other code ..

0 commit comments

Comments
 (0)