@@ -51,7 +51,7 @@ |
||
| 51 | 51 | |
| 52 | 52 | $process = Process::fromShellCommandline($prompt); |
| 53 | 53 | |
| 54 | - $process->run(function (string $pipe, string $outputString) use ($output) { |
|
| 54 | + $process->run(function(string $pipe, string $outputString) use ($output) { |
|
| 55 | 55 | if ($pipe == Process::OUT) { |
| 56 | 56 | $output->write($outputString); |
| 57 | 57 | } elseif ($pipe == Process::ERR) { |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | if (array_key_exists(self::FIELD_DESCRIPTION, $config['repository'])) { |
| 44 | - $this->description = $config['repository'][self::FIELD_DESCRIPTION] . ' (' . self::DEFAULT_LOCAL_DESCRIPTION . ')'; |
|
| 44 | + $this->description = $config['repository'][self::FIELD_DESCRIPTION] . ' (' . self::DEFAULT_LOCAL_DESCRIPTION . ')'; |
|
| 45 | 45 | } else { |
| 46 | 46 | $this->description = ucfirst(self::DEFAULT_LOCAL_DESCRIPTION); |
| 47 | 47 | } |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | - uasort($commands, function (Command $a, Command $b) { |
|
| 62 | + uasort($commands, function(Command $a, Command $b) { |
|
| 63 | 63 | if ($a->getScore() > -1) { |
| 64 | 64 | return $b->getScore() <=> $a->getScore(); |
| 65 | 65 | } |