@@ -47,10 +47,10 @@ discard block |
||
47 | 47 | if (!$virtual) { |
48 | 48 | list($executor, $method) = explode(':', $action->getExecutor()); |
49 | 49 | |
50 | - $executor = 'AppBundle\Action\Executor\\' . ucfirst($executor); |
|
50 | + $executor = 'AppBundle\Action\Executor\\'.ucfirst($executor); |
|
51 | 51 | |
52 | 52 | if (!class_exists($executor)) { |
53 | - throw new \Exception('Unknown executor: ' . $executor); |
|
53 | + throw new \Exception('Unknown executor: '.$executor); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | /** @var ExecutorInterface $executor */ |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | if (!method_exists($executor, $method)) { |
66 | - throw new \Exception('Unknown executor method: ' . $action->getExecutor().'()'); |
|
66 | + throw new \Exception('Unknown executor method: '.$action->getExecutor().'()'); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | try { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } catch (\Exception $exception) { |
72 | 72 | $result = $exception->getMessage(); |
73 | 73 | } |
74 | - $changeSet['result']=$result; |
|
74 | + $changeSet['result'] = $result; |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | $state = new ActionHistory(); |
@@ -17,8 +17,8 @@ |
||
17 | 17 | $variable = false; |
18 | 18 | |
19 | 19 | foreach ($params as $param) { |
20 | - list($p,$v) = explode(':', $param); |
|
21 | - if ($p=='variable') { |
|
20 | + list($p, $v) = explode(':', $param); |
|
21 | + if ($p == 'variable') { |
|
22 | 22 | $variable = $this-> |
23 | 23 | getDoctrine()-> |
24 | 24 | getManager()-> |