@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | $jobConfig = $this->getJobConfig($jobCode); |
50 | 50 | |
51 | - if (empty($jobCode)|| !isset($jobConfig['instance'])) { |
|
51 | + if (empty($jobCode) || !isset($jobConfig['instance'])) { |
|
52 | 52 | throw new \InvalidArgumentException('No job config found!'); |
53 | 53 | } |
54 | 54 | |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | protected function askJobCode(InputInterface $input, OutputInterface $output, $jobs) |
107 | 107 | { |
108 | 108 | foreach ($jobs as $key => $job) { |
109 | - $question[] = '<comment>[' . ($key+1) . ']</comment> ' . $job['Job'] . PHP_EOL; |
|
109 | + $question[] = '<comment>[' . ($key + 1) . ']</comment> ' . $job['Job'] . PHP_EOL; |
|
110 | 110 | } |
111 | 111 | $question[] = '<question>Please select job: </question>' . PHP_EOL; |
112 | 112 |
@@ -79,22 +79,22 @@ |
||
79 | 79 | 'BackendType' => array('Backend-Type'), |
80 | 80 | 'SourceModel' => array('Source-Model'), |
81 | 81 | 'CacheIdTags' => array('Cache-ID-Tags', function ($values) { |
82 | - return implode(',', (array)$values); |
|
82 | + return implode(',', (array) $values); |
|
83 | 83 | }), |
84 | 84 | 'CacheTags' => array('Cache-Tags', function ($values) { |
85 | - return implode(',', (array)$values); |
|
85 | + return implode(',', (array) $values); |
|
86 | 86 | }), |
87 | 87 | 'DefaultValue' => array('Default-Value'), |
88 | 88 | 'FlatColumns' => array( |
89 | 89 | 'Flat-Columns', |
90 | 90 | function ($values) { |
91 | - return implode(',', array_keys((array)$values)); |
|
91 | + return implode(',', array_keys((array) $values)); |
|
92 | 92 | } |
93 | 93 | ), |
94 | 94 | 'FlatIndexes' => array( |
95 | 95 | 'Flat-Indexes', |
96 | 96 | function ($values) { |
97 | - return implode(',', array_keys((array)$values)); |
|
97 | + return implode(',', array_keys((array) $values)); |
|
98 | 98 | } |
99 | 99 | ) |
100 | 100 | ); |
@@ -298,7 +298,7 @@ |
||
298 | 298 | $definitions, |
299 | 299 | $resolved |
300 | 300 | ); |
301 | - $resolvedList = array_merge($resolvedList, $tables); |
|
301 | + $resolvedList = array_merge($resolvedList, $tables); |
|
302 | 302 | } |
303 | 303 | continue; |
304 | 304 | } |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | public function __construct(array $initConfig = array(), $isPharMode = false, OutputInterface $output = null) |
66 | 66 | { |
67 | 67 | $this->initConfig = $initConfig; |
68 | - $this->isPharMode = (bool)$isPharMode; |
|
68 | + $this->isPharMode = (bool) $isPharMode; |
|
69 | 69 | $this->output = $output ?: new NullOutput(); |
70 | 70 | } |
71 | 71 | |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | */ |
265 | 265 | private function getArray($key, $default = array()) |
266 | 266 | { |
267 | - $result = $this->traverse((array)$key); |
|
267 | + $result = $this->traverse((array) $key); |
|
268 | 268 | if (null === $result) { |
269 | 269 | return $default; |
270 | 270 | } |