@@ -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 | */ |
@@ -16,7 +16,6 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * Serve command. |
18 | 18 | * |
19 | - * @param int $port |
|
20 | 19 | */ |
21 | 20 | protected function serve(InputInterface $input, OutputInterface $output) |
22 | 21 | { |
@@ -75,7 +74,7 @@ discard block |
||
75 | 74 | * Obtain port. |
76 | 75 | * |
77 | 76 | * @param InputInterface $input |
78 | - * @return mixed|string |
|
77 | + * @return integer |
|
79 | 78 | */ |
80 | 79 | protected function port(InputInterface $input) { |
81 | 80 | $name = $input->getArgument('port'); |