@@ -59,7 +59,4 @@ |
||
| 59 | 59 | 'payload' => json_encode($event->payload(), JSON_THROW_ON_ERROR), |
| 60 | 60 | 'occurred_on' => $event->occurredOn()->format('Y-m-d H:i:s'), |
| 61 | 61 | ]); |
| 62 | - DomainEventEmitter::recordThat($event); |
|
| 63 | - } |
|
| 64 | - } |
|
| 65 | -} |
|
| 62 | + DomainEventEmitter::recordThat($event |
|
| 66 | 63 | \ No newline at end of file |
@@ -59,7 +59,4 @@ |
||
| 59 | 59 | 'payload' => json_encode($event->payload(), JSON_THROW_ON_ERROR), |
| 60 | 60 | 'occurred_on' => $event->occurredOn()->format('Y-m-d H:i:s'), |
| 61 | 61 | ]); |
| 62 | - DomainEventEmitter::recordThat($event); |
|
| 63 | - } |
|
| 64 | - } |
|
| 65 | -} |
|
| 62 | + DomainEventEmitter::recordThat($event |
|
| 66 | 63 | \ No newline at end of file |
@@ -59,7 +59,4 @@ |
||
| 59 | 59 | 'payload' => json_encode($event->payload(), JSON_THROW_ON_ERROR), |
| 60 | 60 | 'occurred_on' => $event->occurredOn()->format('Y-m-d H:i:s'), |
| 61 | 61 | ]); |
| 62 | - DomainEventEmitter::recordThat($event); |
|
| 63 | - } |
|
| 64 | - } |
|
| 65 | -} |
|
| 62 | + DomainEventEmitter::recordThat($event |
|
| 66 | 63 | \ No newline at end of file |
@@ -59,7 +59,4 @@ |
||
| 59 | 59 | 'payload' => json_encode($event->payload(), JSON_THROW_ON_ERROR), |
| 60 | 60 | 'occurred_on' => $event->occurredOn()->format('Y-m-d H:i:s'), |
| 61 | 61 | ]); |
| 62 | - DomainEventEmitter::recordThat($event); |
|
| 63 | - } |
|
| 64 | - } |
|
| 65 | -} |
|
| 62 | + DomainEventEmitter::recordThat($event |
|
| 66 | 63 | \ No newline at end of file |
@@ -59,7 +59,4 @@ |
||
| 59 | 59 | 'payload' => json_encode($event->payload(), JSON_THROW_ON_ERROR), |
| 60 | 60 | 'occurred_on' => $event->occurredOn()->format('Y-m-d H:i:s'), |
| 61 | 61 | ]); |
| 62 | - DomainEventEmitter::recordThat($event); |
|
| 63 | - } |
|
| 64 | - } |
|
| 65 | -} |
|
| 62 | + DomainEventEmitter::recordThat($event |
|
| 66 | 63 | \ No newline at end of file |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | abstract class AggregateChanged implements StoppableEventInterface, JsonSerializable |
| 14 | 14 | { |
| 15 | 15 | protected const DATE_FORMAT = 'Y-m-d H:i:s'; |
| 16 | - protected const PROPERTIES =[ |
|
| 16 | + protected const PROPERTIES = [ |
|
| 17 | 17 | 'aggregate_id', |
| 18 | 18 | 'payload', |
| 19 | 19 | 'occurred_on', |