Completed
Push — master ( eb0ddf...6e23e2 )
by Daniel
03:16
created
src/EventSourcing/Common/EventSourcedAggregateRoot.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.