File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ phpunit.xml
4
4
.phpunit.cache
5
5
.phpcs-cache
6
6
phpstan.neon
7
+ docs_php
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ $messages = Store::load(
61
61
new Criteria(
62
62
new AggregateIdCriterion('123'),
63
63
),
64
- )
64
+ );
65
65
```
66
66
!!! note
67
67
Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ You should add the middleware to your `bootstrap/app.php` file.
41
41
``` php
42
42
use Patchlevel\LaravelEventSourcing\Middleware\EventSourcingMiddleware;
43
43
44
- ->withMiddleware(static function (Middleware $middleware): void {
44
+ $app ->withMiddleware(static function (Middleware $middleware): void {
45
45
$middleware->append(EventSourcingMiddleware::class);
46
- })
46
+ });
47
47
```
48
48
!!! success
49
49
You can’t perform that action at this time.
0 commit comments