@@ -69,8 +69,8 @@ |
||
69 | 69 | if ('workflow' === $config['type']) { |
70 | 70 | $transitions[] = new Transition($name, $transition['from'], $transition['to']); |
71 | 71 | } elseif ('state_machine' === $config['type']) { |
72 | - foreach ((array)$transition['from'] as $from) { |
|
73 | - foreach ((array)$transition['to'] as $to) { |
|
72 | + foreach ((array) $transition['from'] as $from) { |
|
73 | + foreach ((array) $transition['to'] as $to) { |
|
74 | 74 | $transitions[] = new Transition($name, $from, $to); |
75 | 75 | } |
76 | 76 | } |