@@ -14,7 +14,7 @@ |
||
| 14 | 14 | { |
| 15 | 15 | $projector->fromStream('event_stream') |
| 16 | 16 | ->when([ |
| 17 | - BookWasCreated::class => function ($state, BookWasCreated $event) { |
|
| 17 | + BookWasCreated::class => function($state, BookWasCreated $event) { |
|
| 18 | 18 | /** @var BookReadModel $readModel */ |
| 19 | 19 | $readModel = $this->readModel(); |
| 20 | 20 | $readModel->stack('insert', [ |