@@ -360,7 +360,7 @@ |
||
360 | 360 | $sk = $this->vars->get('sk'); |
361 | 361 | |
362 | 362 | // An anonymous proxy function for handling views variables |
363 | - $_getvar = function ($key, $default = null) { |
|
363 | + $_getvar = function($key, $default = null) { |
|
364 | 364 | if (DEBUG && !$this->vars->exists($key)) { |
365 | 365 | logger(sprintf(__('No es posible obtener la variable "%s"'), $key), 'WARN'); |
366 | 366 | } |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | public function setRuntimeFilter($class, $method) |
155 | 155 | { |
156 | 156 | if (method_exists($class, $method)) { |
157 | - $this->runtimeFilter = function ($filter) use ($method) { |
|
157 | + $this->runtimeFilter = function($filter) use ($method) { |
|
158 | 158 | // new \ReflectionMethod($class, $method); |
159 | 159 | return $filter->{$method}(); |
160 | 160 | }; |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | { |
261 | 261 | if ($this->onClickArgs !== null) { |
262 | 262 | |
263 | - $args = array_map(function ($value) { |
|
263 | + $args = array_map(function($value) { |
|
264 | 264 | return (!is_numeric($value) && $value !== 'this') ? '\'' . $value . '\'' : $value; |
265 | 265 | }, $this->onClickArgs); |
266 | 266 |
@@ -185,6 +185,6 @@ |
||
185 | 185 | protected function initialize() |
186 | 186 | { |
187 | 187 | $this->acl = $this->dic->get(Acl::class); |
188 | - $this->accountHistoryService = $this->dic->get(AccountHistoryService::class);; |
|
188 | + $this->accountHistoryService = $this->dic->get(AccountHistoryService::class); ; |
|
189 | 189 | } |
190 | 190 | } |
191 | 191 | \ No newline at end of file |
@@ -97,7 +97,7 @@ |
||
97 | 97 | return $this->returnJsonResponse(JsonResponse::JSON_SUCCESS, __u('Sin cambios')); |
98 | 98 | } |
99 | 99 | |
100 | - return $this->saveConfig($configData, $this->config, function () use ($eventMessage) { |
|
100 | + return $this->saveConfig($configData, $this->config, function() use ($eventMessage) { |
|
101 | 101 | $this->eventDispatcher->notifyEvent('save.config.ldap', new Event($this, $eventMessage)); |
102 | 102 | }); |
103 | 103 | } catch (\Exception $e) { |