@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | |
| 205 | 205 | if ($input->getOption('magentoVersion')) { |
| 206 | 206 | $type = $input->getOption('magentoVersion'); |
| 207 | - if ($type !== (string)(int)$type) { |
|
| 207 | + if ($type !== (string) (int) $type) { |
|
| 208 | 208 | $type = $this->getPackageNumberByName($type); |
| 209 | 209 | } |
| 210 | 210 | } elseif ($input->getOption('magentoVersionByName')) { |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | private function getPackageNumberByName($name) |
| 241 | 241 | { |
| 242 | 242 | // directly filter integer strings |
| 243 | - if ($name === (string)(int)$name) { |
|
| 243 | + if ($name === (string) (int) $name) { |
|
| 244 | 244 | return (int) $name; |
| 245 | 245 | } |
| 246 | 246 | |
@@ -849,7 +849,7 @@ discard block |
||
| 849 | 849 | protected function getPhpExecutable() |
| 850 | 850 | { |
| 851 | 851 | $php = getenv('_'); |
| 852 | - if(!$php) { |
|
| 852 | + if (!$php) { |
|
| 853 | 853 | if (OperatingSystem::isWindows()) { |
| 854 | 854 | $php = 'php'; |
| 855 | 855 | } else { |