Completed
Push — master ( a40390...c25130 )
by
11s
created
src/Workflow/WorkflowRegistry.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -93,14 +93,14 @@
 block discarded – undo
93 93
 
94 94
         $transitions = [];
95 95
         $definitionBuilder = new DefinitionBuilder();
96
-        $definitionBuilder->addPlaces((array)$config['places']);
96
+        $definitionBuilder->addPlaces((array) $config['places']);
97 97
 
98
-        foreach ((array)$config['transitions'] as $name => $transition) {
98
+        foreach ((array) $config['transitions'] as $name => $transition) {
99 99
             if ('workflow' === $config['type']) {
100 100
                 $transitions[] = new Transition($name, $transition['from'], $transition['to']);
101 101
             } elseif ('state_machine' === $config['type']) {
102
-                foreach ((array)$transition['from'] as $from) {
103
-                    foreach ((array)$transition['to'] as $to) {
102
+                foreach ((array) $transition['from'] as $from) {
103
+                    foreach ((array) $transition['to'] as $to) {
104 104
                         $transitions[] = new Transition($name, $from, $to);
105 105
                     }
106 106
                 }
Please login to merge, or discard this patch.