@@ -166,8 +166,4 @@ |
||
166 | 166 | $local->putFileContent($file, <<<EOT |
167 | 167 | <?php |
168 | 168 | |
169 | -return {$array}; |
|
170 | - |
|
171 | -EOT); |
|
172 | - } |
|
173 | -} |
|
169 | +return {$array} |
|
174 | 170 | \ No newline at end of file |
@@ -523,7 +523,7 @@ discard block |
||
523 | 523 | if (class_exists('\Symfony\Component\Process\Process')) { |
524 | 524 | try{ |
525 | 525 | $process = new \Symfony\Component\Process\Process($command); |
526 | - }catch(Exception $e){ |
|
526 | + } catch(Exception $e){ |
|
527 | 527 | $process = new \Symfony\Component\Process\Process(Strings::toArray($command, ' ')); |
528 | 528 | } |
529 | 529 | |
@@ -532,7 +532,7 @@ discard block |
||
532 | 532 | return false; |
533 | 533 | } |
534 | 534 | return $process->getOutput(); |
535 | - }else{ |
|
535 | + } else{ |
|
536 | 536 | return exec($command); |
537 | 537 | } |
538 | 538 | } |