@@ -377,7 +377,7 @@ |
||
| 377 | 377 | /** |
| 378 | 378 | * Obtain package. |
| 379 | 379 | * |
| 380 | - * @param $name |
|
| 380 | + * @param string $name |
|
| 381 | 381 | * @return array|int |
| 382 | 382 | */ |
| 383 | 383 | private function obtainPackage($name){ |
@@ -112,9 +112,9 @@ |
||
| 112 | 112 | /** |
| 113 | 113 | * Insert file into file using mountpoint. |
| 114 | 114 | * |
| 115 | - * @param $mountpoint |
|
| 115 | + * @param string $mountpoint |
|
| 116 | 116 | * @param $fileToInsert |
| 117 | - * @return mixed |
|
| 117 | + * @return integer|null |
|
| 118 | 118 | */ |
| 119 | 119 | private function addFileIntoMountPoint($mountpoint, $fileToInsert) |
| 120 | 120 | { |
@@ -111,7 +111,6 @@ |
||
| 111 | 111 | /** |
| 112 | 112 | * Get credentials. |
| 113 | 113 | * |
| 114 | - * @param OutputInterface $input |
|
| 115 | 114 | * @return array |
| 116 | 115 | */ |
| 117 | 116 | public function getCredentials(OutputInterface $output) |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * |
| 17 | 17 | * Overwrite file with provided content. |
| 18 | 18 | * |
| 19 | - * @param $file |
|
| 19 | + * @param string $file |
|
| 20 | 20 | * @param $content |
| 21 | 21 | */ |
| 22 | 22 | public function overwrite($file, $content) |
@@ -42,6 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Get file contents |
| 45 | + * @param string $file |
|
| 45 | 46 | */ |
| 46 | 47 | public function get($file) { |
| 47 | 48 | return file_get_contents($file); |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | * |
| 127 | 127 | * @param $repo_name |
| 128 | 128 | * @param $repo_description |
| 129 | - * @return mixed |
|
| 129 | + * @return \Psr\Http\Message\ResponseInterface |
|
| 130 | 130 | */ |
| 131 | 131 | public function createRepo($repo_name, $repo_description) |
| 132 | 132 | { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * |
| 167 | 167 | * @param $repo_name |
| 168 | 168 | * @param $repo_description |
| 169 | - * @return mixed |
|
| 169 | + * @return string |
|
| 170 | 170 | */ |
| 171 | 171 | protected function compileStub($repo_name, $repo_description) |
| 172 | 172 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | /** |
| 183 | 183 | * Compile the template using the given data. |
| 184 | 184 | * |
| 185 | - * @param $template |
|
| 185 | + * @param string $template |
|
| 186 | 186 | * @param $data |
| 187 | 187 | * @return mixed |
| 188 | 188 | */ |