@@ -171,7 +171,7 @@ |
||
| 171 | 171 | * Will not actually perform operations if performing dry_run |
| 172 | 172 | * |
| 173 | 173 | * @param OutputInterface $output |
| 174 | - * @param array $cmd_chunks |
|
| 174 | + * @param string[] $cmd_chunks |
|
| 175 | 175 | * |
| 176 | 176 | * @throws \Symfony\Component\Process\Exception\ProcessFailedException |
| 177 | 177 | */ |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | throw new \InvalidArgumentException(sprintf('%s not found in working-dir', $json_file_path)); |
| 156 | 156 | } |
| 157 | 157 | |
| 158 | - $this->setDryRun((bool)$input->getOption('dry-run')); |
|
| 158 | + $this->setDryRun((bool) $input->getOption('dry-run')); |
|
| 159 | 159 | |
| 160 | 160 | $this->lock_file = new ComposerFile\ComposerLock($lock_file_path); |
| 161 | 161 | $this->json_file = new ComposerFile\ComposerJson($json_file_path); |
@@ -59,6 +59,6 @@ |
||
| 59 | 59 | */ |
| 60 | 60 | public function save() |
| 61 | 61 | { |
| 62 | - return (bool)file_put_contents($this->path, json_encode($this->contents, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL); |
|
| 62 | + return (bool) file_put_contents($this->path, json_encode($this->contents, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . PHP_EOL); |
|
| 63 | 63 | } |
| 64 | 64 | } |