Completed
Branch master (2c3b3a)
by Thorsten
01:40
created
Category
src/Aggregate/CommandInterface.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\Aggregate;
12 12
 
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     public function getAggregateId(): AggregateIdInterface;
20 20
 
21
-    public function getKnownAggregateRevision(): ?AggregateRevision;
21
+    public function getKnownAggregateRevision(): ? AggregateRevision;
22 22
 
23 23
     public function hasKnownAggregateRevision(): bool;
24 24
 }
Please login to merge, or discard this patch.
src/Aggregate/AggregateRoot.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\Aggregate;
12 12
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     {
88 88
         $handlerName = preg_replace("/Event$/", "", (new \ReflectionClass($event))->getShortName());
89 89
         $handlerMethod = "when".ucfirst($handlerName);
90
-        $handler = [ $this, $handlerMethod ];
90
+        $handler = [$this, $handlerMethod];
91 91
         if (!is_callable($handler)) {
92 92
             throw new \Exception("Handler '$handlerMethod' isn't callable on ".static::class);
93 93
         }
Please login to merge, or discard this patch.
src/Aggregate/CommandHandler.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\Aggregate;
12 12
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $commandMessage = $envelope->getMessage();
38 38
         $handlerName = (new \ReflectionClass($commandMessage))->getShortName();
39 39
         $handlerMethod = "handle".ucfirst($handlerName);
40
-        $handler = [ $this, $handlerMethod ];
40
+        $handler = [$this, $handlerMethod];
41 41
         if (!is_callable($handler)) {
42 42
             throw new \Exception("Handler '$handlerMethod' isn't callable on ".static::class);
43 43
         }
Please login to merge, or discard this patch.
src/Aggregate/AggregateRootInterface.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/Aggregate/AggregateId.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/Aggregate/Command.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/Aggregate/AggregateRevision.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/Aggregate/DomainEvent.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/Aggregate/DomainEventInterface.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.