@@ -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); |
@@ -217,7 +217,7 @@ |
||
217 | 217 | /** |
218 | 218 | * Obtain package. |
219 | 219 | * |
220 | - * @param $name |
|
220 | + * @param string $name |
|
221 | 221 | * |
222 | 222 | * @return array|int |
223 | 223 | */ |
@@ -115,10 +115,10 @@ |
||
115 | 115 | /** |
116 | 116 | * Insert file into file using mountpoint. |
117 | 117 | * |
118 | - * @param $mountpoint |
|
118 | + * @param string $mountpoint |
|
119 | 119 | * @param $fileToInsert |
120 | 120 | * |
121 | - * @return mixed |
|
121 | + * @return integer|null |
|
122 | 122 | */ |
123 | 123 | private function addFileIntoMountPoint($mountpoint, $fileToInsert, $outputFile = null) |
124 | 124 | { |
@@ -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 | { |
@@ -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 | */ |