Completed
Pull Request — master (#744)
by
unknown
07:45 queued 17s
created
src/N98/Magento/Command/Installer/InstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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 {
Please login to merge, or discard this patch.