@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | /** |
29 | 29 | * Record a Domain Event |
30 | 30 | * |
31 | - * @param mixed $domainEvent |
|
31 | + * @param DomainEvent $domainEvent |
|
32 | 32 | */ |
33 | 33 | private function record($domainEvent) |
34 | 34 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * Apply a Domain Event to the aggregate |
48 | 48 | * |
49 | - * @param mixed $domainEvent |
|
49 | + * @param DomainEvent $domainEvent |
|
50 | 50 | */ |
51 | 51 | public function apply($domainEvent) |
52 | 52 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | |
74 | 74 | /** |
75 | 75 | * @param string $eventHandlerName |
76 | - * @param mixed $domainEventData |
|
76 | + * @param DomainEvent $domainEventData |
|
77 | 77 | * @throws DomainEventNotUnderstandableException |
78 | 78 | */ |
79 | 79 | private function applyRecursively($eventHandlerName, $domainEventData) |