@@ -33,7 +33,7 @@ |
||
33 | 33 | $total += count($this->jobs[$jobWorkerName]); |
34 | 34 | } |
35 | 35 | |
36 | - return array_sum(array_map(function ($jobs) { return count($jobs); }, $this->jobs)); |
|
36 | + return array_sum(array_map(function($jobs) { return count($jobs); }, $this->jobs)); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | public function getStatus() |
@@ -98,7 +98,7 @@ |
||
98 | 98 | $this->eventDispatcher->dispatch(Event::PRE_JOB, $event); |
99 | 99 | |
100 | 100 | $start = microtime(true); |
101 | - $handleException = function (\Exception $exception) use ($job) { |
|
101 | + $handleException = function(\Exception $exception) use ($job) { |
|
102 | 102 | /** @var \Exception $exception */ |
103 | 103 | $exceptionMessage = get_class($exception)."\n".$exception->getCode().' - '.$exception->getMessage()."\n".$exception->getTraceAsString(); |
104 | 104 | $this->log('debug', "Failed: {$job->getClassName()}->{$job->getMethod()}"); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | ->arrayNode('ssl_options') |
81 | 81 | ->prototype('variable')->end() |
82 | 82 | ->validate() |
83 | - ->ifTrue(function ($node) { |
|
83 | + ->ifTrue(function($node) { |
|
84 | 84 | if (!is_array($node)) { |
85 | 85 | return true; |
86 | 86 | } |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | ->end() |
125 | 125 | ->end() |
126 | 126 | ->end() |
127 | - ->validate()->always(function ($node) { |
|
127 | + ->validate()->always(function($node) { |
|
128 | 128 | if (empty($node['ssl_options'])) { |
129 | 129 | unset($node['ssl_options']); |
130 | 130 | } |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | |
135 | 135 | return $node; |
136 | 136 | })->end() |
137 | - ->validate()->ifTrue(function ($node) { |
|
137 | + ->validate()->ifTrue(function($node) { |
|
138 | 138 | if (isset($node['ssl_options']) && !$node['ssl']) { |
139 | 139 | return true; |
140 | 140 | } |