Completed
Pull Request — master (#340)
by De Cramer
03:42
created
src/eXpansion/Framework/Core/Command/UpdateCommand.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -89,6 +89,9 @@
 block discarded – undo
89 89
         }
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $command
94
+     */
92 95
     protected function runCommand($command, $playerLogin, SymfonyStyle $sfs)
93 96
     {
94 97
         $process = new Process($command);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,9 +92,9 @@
 block discarded – undo
92 92
     protected function runCommand($command, $playerLogin, SymfonyStyle $sfs)
93 93
     {
94 94
         $process = new Process($command);
95
-        $process->setWorkingDirectory($this->getContainer()->getParameter('kernel.root_dir') . '/..');
95
+        $process->setWorkingDirectory($this->getContainer()->getParameter('kernel.root_dir').'/..');
96 96
 
97
-        $process->run(function ($type, $buffer) use ($playerLogin, $sfs) {
97
+        $process->run(function($type, $buffer) use ($playerLogin, $sfs) {
98 98
             $this->notifyPlayer($type, $buffer, $playerLogin);
99 99
             $sfs->writeln($buffer);
100 100
         });
Please login to merge, or discard this patch.