Completed
Push — master ( 7b9431...f9056b )
by Julián
01:23
created
src/Event/AbstractAggregateEvent.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @param array<string, mixed> $payload
60 60
      * @param TimeProvider|null    $timeProvider
61 61
      *
62
-     * @return mixed|self
62
+     * @return AbstractAggregateEvent
63 63
      */
64 64
     final protected static function occurred(Identity $aggregateId, array $payload, ?TimeProvider $timeProvider = null)
65 65
     {
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * {@inheritdoc}
78 78
      *
79
-     * @return mixed|self
79
+     * @return AbstractAggregateEvent
80 80
      */
81 81
     final public static function reconstitute(array $payload, array $attributes = [])
82 82
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 namespace Gears\EventSourcing\Event;
15 15
 
16 16
 use Gears\DTO\ScalarPayloadBehaviour;
17
+use Gears\EventSourcing\Aggregate\AggregateVersion;
17 18
 use Gears\Event\Time\SystemTimeProvider;
18 19
 use Gears\Event\Time\TimeProvider;
19
-use Gears\EventSourcing\Aggregate\AggregateVersion;
20 20
 use Gears\Identity\Identity;
21 21
 use Gears\Immutability\ImmutabilityBehaviour;
22 22
 
Please login to merge, or discard this patch.
src/Event/AbstractEmptyAggregateEvent.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param Identity          $aggregateId
55 55
      * @param TimeProvider|null $timeProvider
56 56
      *
57
-     * @return mixed|self
57
+     * @return AbstractEmptyAggregateEvent
58 58
      */
59 59
     final protected static function occurred(Identity $aggregateId, ?TimeProvider $timeProvider = null)
60 60
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * {@inheritdoc}
72 72
      *
73
-     * @return mixed|self
73
+     * @return AbstractEmptyAggregateEvent
74 74
      *
75 75
      * @SuppressWarnings(PHPMD.UnusedFormalParameter)
76 76
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 namespace Gears\EventSourcing\Event;
15 15
 
16 16
 use Gears\DTO\ScalarPayloadBehaviour;
17
+use Gears\EventSourcing\Aggregate\AggregateVersion;
17 18
 use Gears\Event\Time\SystemTimeProvider;
18 19
 use Gears\Event\Time\TimeProvider;
19
-use Gears\EventSourcing\Aggregate\AggregateVersion;
20 20
 use Gears\Identity\Identity;
21 21
 use Gears\Immutability\ImmutabilityBehaviour;
22 22
 
Please login to merge, or discard this patch.
src/Event/AggregateEventBehaviour.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 namespace Gears\EventSourcing\Event;
15 15
 
16
-use Gears\Event\Exception\EventException;
17 16
 use Gears\EventSourcing\Aggregate\AggregateBehaviour;
18 17
 use Gears\EventSourcing\Aggregate\AggregateVersion;
18
+use Gears\Event\Exception\EventException;
19 19
 use Gears\Identity\Identity;
20 20
 
21 21
 use function DeepCopy\deep_copy;
Please login to merge, or discard this patch.