Completed
Push — master ( 45ac24...2bbac1 )
by Kirill
04:12
created
src/AppBundle/Action/Service.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/AppBundle/Action/Executor/Movement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
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()->
Please login to merge, or discard this patch.