@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | ) |
149 | 149 | ) |
150 | 150 | ); |
151 | - $tables = $resolvedTables[0]; |
|
151 | + $tables = $resolvedTables[0]; |
|
152 | 152 | } else { |
153 | 153 | $tables = $this->dbHelper->getTables(); |
154 | 154 | } |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | return array(array( |
209 | 209 | 'table' => $tableName, |
210 | 210 | 'operation' => 'ENGINE ' . $engine, |
211 | - 'type' => sprintf('%15s rows', (string)$affectedRows), |
|
211 | + 'type' => sprintf('%15s rows', (string) $affectedRows), |
|
212 | 212 | 'status' => sprintf('%.3f secs', microtime(true) - $start), |
213 | 213 | ) |
214 | 214 | ); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | // Find out which types simply do not exist or are not affected by modifier |
56 | 56 | $invalidTypes = array_diff($types, array_keys($this->getCacheTypes(!static::TARGET_IS_ENABLED))); |
57 | 57 | |
58 | - if (! empty($invalidTypes)) { |
|
58 | + if (!empty($invalidTypes)) { |
|
59 | 59 | $output->writeln(sprintf(static::INVALID_TYPES_MESSAGE, implode(', ', $invalidTypes))); |
60 | 60 | } |
61 | 61 | |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** @var $cacheState \Magento\Framework\App\Cache\StateInterface */ |
71 | - $cacheState = $this->getObjectManager()->get('\Magento\Framework\App\Cache\StateInterface'); |
|
71 | + $cacheState = $this->getObjectManager()->get('\Magento\Framework\App\Cache\StateInterface'); |
|
72 | 72 | $touchedTypes = []; |
73 | 73 | |
74 | 74 | try { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function restoration() |
29 | 29 | { |
30 | - $callbackStub = function() { |
|
30 | + $callbackStub = function () { |
|
31 | 31 | }; |
32 | 32 | |
33 | 33 | $this->assertTrue(spl_autoload_register($callbackStub)); |
@@ -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 | ); |
@@ -10,17 +10,17 @@ |
||
10 | 10 | { |
11 | 11 | protected function configure() |
12 | 12 | { |
13 | - $this |
|
14 | - ->setName('testmodule:foo') |
|
15 | - ->setDescription('Test command registered in a module') |
|
16 | - ; |
|
13 | + $this |
|
14 | + ->setName('testmodule:foo') |
|
15 | + ->setDescription('Test command registered in a module') |
|
16 | + ; |
|
17 | 17 | } |
18 | 18 | |
19 | - /** |
|
20 | - * @param \Symfony\Component\Console\Input\InputInterface $input |
|
21 | - * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
22 | - * @return int|void |
|
23 | - */ |
|
19 | + /** |
|
20 | + * @param \Symfony\Component\Console\Input\InputInterface $input |
|
21 | + * @param \Symfony\Component\Console\Output\OutputInterface $output |
|
22 | + * @return int|void |
|
23 | + */ |
|
24 | 24 | protected function execute(InputInterface $input, OutputInterface $output) |
25 | 25 | { |
26 | 26 | $this->detectMagento($output); |
@@ -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 | } |