Completed
Push — master ( b0fb51...97a348 )
by Christopher
03:36
created
src/Contracts/Domain/Aggregate.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,6 @@
 block discarded – undo
32 32
      * Handle
33 33
      *
34 34
      * Central method to distribute command to an internal handler.
35
-     * @param  EventInterface $event An event that has occurred.
36 35
      * @return void
37 36
      */
38 37
     public function handle(Command $command);
Please login to merge, or discard this patch.
src/Contracts/Domain/Entity.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
      * Constructor
7 7
      *
8 8
      * Instantiate an Entity using its identifier.
9
-     * @param  ValueObjectInterface $identifier The identity Value Object.
9
+     * @param  ValueObject $identifier The identity Value Object.
10 10
      * @return static
11 11
      */
12 12
     public function __construct(ValueObject $identifier);
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      * Get Id
16 16
      *
17 17
      * Return the identifier Value Object.
18
-     * @return ValueObjectInterface
18
+     * @return ValueObject
19 19
      */
20 20
     public function getId();
21 21
 
Please login to merge, or discard this patch.
src/Domain/AggregateRoot.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,5 @@
 block discarded – undo
1 1
 <?php namespace C4tech\RayEmitter\Domain;
2 2
 
3
-use C4tech\RayEmitter\Contracts\Domain\AggregateRoot as AggregateRootInterface;
4
-use C4tech\RayEmitter\Exceptions\UnknownProperty;
5
-
6 3
 trait AggregateRoot // extends AggregateRootInterface
7 4
 {
8 5
     /**
Please login to merge, or discard this patch.
src/Event/Store.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         return $events;
33 33
     }
34 34
 
35
+    /**
36
+     * @return EventInterface
37
+     */
35 38
     protected function restoreEvent($record)
36 39
     {
37 40
         $class = $record->event;
Please login to merge, or discard this patch.