Completed
Branch master (2c3b3a)
by Thorsten
01:40
created
Category
src/Aggregate/DomainEventSequence.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\Aggregate;
12 12
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     public static function fromArray(array $eventsArray): DomainEventSequence
24 24
     {
25
-        return new static(array_map(function (array $eventState) {
25
+        return new static(array_map(function(array $eventState) {
26 26
             $eventFqcn = self::resolveEventFqcn($eventState);
27 27
             return $eventFqcn::fromArray($eventState);
28 28
         }, $eventsArray));
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     public function __construct(array $events = [])
37 37
     {
38
-        (function (DomainEventInterface ...$events) {
38
+        (function(DomainEventInterface ...$events) {
39 39
             $this->compositeVector = new Vector($events);
40 40
         })(...$events);
41 41
     }
@@ -74,12 +74,12 @@  discard block
 block discarded – undo
74 74
         return $this->isEmpty() ? AggregateRevision::makeEmpty() : $this->getTail()->getAggregateRevision();
75 75
     }
76 76
 
77
-    public function getTail(): ?DomainEventInterface
77
+    public function getTail(): ? DomainEventInterface
78 78
     {
79 79
         return $this->compositeVector->first();
80 80
     }
81 81
 
82
-    public function getHead(): ?DomainEventInterface
82
+    public function getHead(): ? DomainEventInterface
83 83
     {
84 84
         return $this->compositeVector->last();
85 85
     }
Please login to merge, or discard this patch.
src/Aggregate/AggregateIdInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\Aggregate;
12 12
 
Please login to merge, or discard this patch.
src/EventStore/StreamStoreInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
Please login to merge, or discard this patch.
src/EventStore/UnitOfWorkMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
Please login to merge, or discard this patch.
src/EventStore/StreamStoreMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
Please login to merge, or discard this patch.
src/EventStore/CommitStream.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         return $stream;
91 91
     }
92 92
 
93
-    public function getHead(): ?CommitInterface
93
+    public function getHead(): ? CommitInterface
94 94
     {
95 95
         return $this->commitSequence->isEmpty() ? null : $this->commitSequence->getHead();
96 96
     }
Please login to merge, or discard this patch.
src/EventStore/CommitStreamRevision.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
Please login to merge, or discard this patch.
src/EventStore/CommitStreamId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
Please login to merge, or discard this patch.
src/EventStore/StoreSuccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * file that was distributed with this source code.
7 7
  */
8 8
 
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace Daikon\EventSourcing\EventStore;
12 12
 
Please login to merge, or discard this patch.