@@ -6,7 +6,7 @@ |
||
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 |
@@ -6,7 +6,7 @@ discard block |
||
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 |
||
33 | 33 | |
34 | 34 | public function getAggregateRevision(): AggregateRevision; |
35 | 35 | |
36 | - public function getHead(): ?CommitInterface; |
|
36 | + public function getHead(): ? CommitInterface; |
|
37 | 37 | } |
@@ -6,7 +6,7 @@ |
||
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 |
@@ -6,7 +6,7 @@ |
||
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 |
@@ -6,7 +6,7 @@ discard block |
||
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 |
||
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 |
||
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 | ); |
@@ -6,7 +6,7 @@ |
||
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 |
@@ -6,7 +6,7 @@ |
||
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 |
@@ -6,7 +6,7 @@ |
||
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 |
@@ -6,7 +6,7 @@ |
||
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 |