Passed
Push — master ( fc54b2...1c3821 )
by Beau
10:44
created
src/Loader/WinzouArrayLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
                     $transitionNames = $setup['on'] ?? [];
81 81
                     $fromStateNames = $setup['from'] ?? [];
82 82
                     $toStateNames = $setup['to'] ?? [];
83
-                    $do = $setup['do'] ?? function (): void {
83
+                    $do = $setup['do'] ?? function(): void {
84 84
                     };
85 85
 
86 86
                     $transitionEventCollection->add(new TransitionEvent(
Please login to merge, or discard this patch.
src/TransitionEvent/TransitionEventCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 
39 39
     public function fireIfMatches(Event $event): void
40 40
     {
41
-        if (! isset($this->transitionEventsByWhenAndName[$event->when()])) {
41
+        if (!isset($this->transitionEventsByWhenAndName[$event->when()])) {
42 42
             return;
43 43
         }
44 44
 
Please login to merge, or discard this patch.
src/Guard/Guard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,6 +59,6 @@
 block discarded – undo
59 59
             return false;
60 60
         }
61 61
 
62
-        return ! $this->callback->__invoke($object, $transition, $fromState, $toState);
62
+        return !$this->callback->__invoke($object, $transition, $fromState, $toState);
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/Transition/TransitionCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     public function named(string $name): Transition
35 35
     {
36
-        if (! isset($this->transitionsByName[$name])) {
36
+        if (!isset($this->transitionsByName[$name])) {
37 37
             throw new \RuntimeException(sprintf('No transition named "%s"', $name));
38 38
         }
39 39
 
Please login to merge, or discard this patch.
src/State/StateCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
     public function named(string $name): State
33 33
     {
34
-        if (! isset($this->statesByName[$name])) {
34
+        if (!isset($this->statesByName[$name])) {
35 35
             throw new \RuntimeException(sprintf('No state named "%s"', $name));
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Graph/GraphCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
         $this->graphsByName[$graph->className()][$graph->graph()] = $graph;
35 35
     }
36 36
 
37
-    public function for(object $object, string $graph = 'default'): Graph
37
+    public function for (object $object, string $graph = 'default'): Graph
38 38
     {
39 39
         $className = get_class($object);
40 40
 
41 41
         foreach ($this->graphsByName as $classNameForGraph => $graphs) {
42
-            if (! $object instanceof $classNameForGraph) {
42
+            if (!$object instanceof $classNameForGraph) {
43 43
                 continue;
44 44
             }
45 45
 
Please login to merge, or discard this patch.