@@ -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 | } |
@@ -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); |