Completed
Branch master (2c3b3a)
by Thorsten
01:40
created
Category
src/EventStore/StoreError.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/CommitStreamInterface.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
 
@@ -33,5 +33,5 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function getAggregateRevision(): AggregateRevision;
35 35
 
36
-    public function getHead(): ?CommitInterface;
36
+    public function getHead(): ? CommitInterface;
37 37
 }
Please login to merge, or discard this patch.
src/EventStore/StreamProcessorInterface.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/CommitInterface.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/UnitOfWork.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             $stream = $this->trackedCommitStreams->get((string)$streamId);
54 54
             $this->trackedCommitStreams = $this->trackedCommitStreams->unregister($stream);
55 55
         } elseif ($tailRevision->isInitial()) {
56
-            $stream = call_user_func([ $this->streamImplementor, 'fromStreamId' ], $streamId);
56
+            $stream = call_user_func([$this->streamImplementor, 'fromStreamId'], $streamId);
57 57
         } else {
58 58
             throw new \Exception("Existing aggregate-roots must be checked out before they may be comitted.");
59 59
         }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $streamId = CommitStreamId::fromNative($aggregateId->toNative());
75 75
         $stream = $this->streamStore->checkout($streamId, $revision);
76 76
         $aggregateRoot = call_user_func(
77
-            [ $this->aggregateRootType, 'reconstituteFromHistory' ],
77
+            [$this->aggregateRootType, 'reconstituteFromHistory'],
78 78
             $aggregateId,
79 79
             $this->buildEventHistory($stream)
80 80
         );
Please login to merge, or discard this patch.
src/EventStore/Commit.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/CommitStreamMap.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/UnitOfWorkInterface.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/StoreResultInterface.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.