@@ -62,6 +62,9 @@ discard block |
||
62 | 62 | } |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param string $path |
|
67 | + */ |
|
65 | 68 | protected function getComposer($path) |
66 | 69 | { |
67 | 70 | return json_decode(file_get_contents($path), true); |
@@ -97,6 +100,10 @@ discard block |
||
97 | 100 | $this->putComposer($moduleComposerPath, $moduleComposer); |
98 | 101 | } |
99 | 102 | |
103 | + /** |
|
104 | + * @param string $path |
|
105 | + * @param Json $data |
|
106 | + */ |
|
100 | 107 | protected function putComposer($path, $data) |
101 | 108 | { |
102 | 109 | file_put_contents($path, json_encode($data, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT)); |
@@ -133,7 +133,6 @@ discard block |
||
133 | 133 | /** |
134 | 134 | * Run the installation process. |
135 | 135 | * |
136 | - * @param bool $dev |
|
137 | 136 | * @return \Symfony\Component\Process\Process |
138 | 137 | */ |
139 | 138 | public function run() |
@@ -168,7 +167,6 @@ discard block |
||
168 | 167 | /** |
169 | 168 | * Get process instance. |
170 | 169 | * |
171 | - * @param bool $dev |
|
172 | 170 | * @return \Symfony\Component\Process\Process |
173 | 171 | */ |
174 | 172 | public function getProcess() |