@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * @param InputInterface $input User input on console |
143 | 143 | * @param OutputInterface $output Output of the command |
144 | 144 | * |
145 | - * @return void |
|
145 | + * @return integer |
|
146 | 146 | */ |
147 | 147 | protected function doImport(Finder $finder, InputInterface $input, OutputInterface $output) |
148 | 148 | { |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * @param string $rewriteTo string to replace value from $rewriteHost with during loading |
233 | 233 | * @param boolean $sync send requests syncronously |
234 | 234 | * |
235 | - * @return Promise\Promise|null |
|
235 | + * @return Promise\PromiseInterface |
|
236 | 236 | */ |
237 | 237 | protected function importResource( |
238 | 238 | $targetUrl, |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | * |
360 | 360 | * @param Document $doc Data source for import data |
361 | 361 | * @param string $originFile Original full filename used toimport |
362 | - * @return bool|mixed |
|
362 | + * @return false|string |
|
363 | 363 | */ |
364 | 364 | private function validateUploadFile(Document $doc, $originFile) |
365 | 365 | { |