|
@@ -70,7 +70,7 @@ discard block |
|
|
block discarded – undo |
|
70
|
70
|
|
|
71
|
71
|
if ($this->needSync) { |
|
72
|
72
|
if ($var->needSync) { |
|
73
|
|
- @file_get_contents($this->syncHost . 'set/' . $varName . '?value=' . $value); |
|
|
73
|
+ @file_get_contents($this->syncHost.'set/'.$varName.'?value='.$value); |
|
74
|
74
|
} |
|
75
|
75
|
} |
|
76
|
76
|
|
|
@@ -99,10 +99,10 @@ discard block |
|
|
block discarded – undo |
|
99
|
99
|
foreach ($hooks as $varHook) { |
|
100
|
100
|
list($executor, $method) = explode(':', $varHook->getExecutor()); |
|
101
|
101
|
|
|
102
|
|
- $executor = 'AppBundle\Action\Executor\\' . ucfirst($executor); |
|
|
102
|
+ $executor = 'AppBundle\Action\Executor\\'.ucfirst($executor); |
|
103
|
103
|
|
|
104
|
104
|
if (!class_exists($executor)) { |
|
105
|
|
- throw new \Exception('Unknown executor: ' . $executor); |
|
|
105
|
+ throw new \Exception('Unknown executor: '.$executor); |
|
106
|
106
|
} |
|
107
|
107
|
|
|
108
|
108
|
/** @var ExecutorInterface $executor */ |
|
@@ -111,7 +111,7 @@ discard block |
|
|
block discarded – undo |
|
111
|
111
|
|
|
112
|
112
|
|
|
113
|
113
|
if (!method_exists($executor, $method)) { |
|
114
|
|
- throw new \Exception('Unknown executor method: ' . $varHook->getExecutor().'()'); |
|
|
114
|
+ throw new \Exception('Unknown executor method: '.$varHook->getExecutor().'()'); |
|
115
|
115
|
} |
|
116
|
116
|
|
|
117
|
117
|
$executor->setParameters(json_decode($varHook->getArguments(), true)); |
Please login to merge, or discard this patch.