@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * import a single file into a collection |
99 | 99 | * |
100 | - * @param SplFileInfo $file file |
|
100 | + * @param \SplFileInfo $file file |
|
101 | 101 | * @param InputInterface $input User input on console |
102 | 102 | * @param OutputInterface $output Output of the command |
103 | 103 | * |
@@ -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 | { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | * |
60 | 60 | * @param InputInterface $input User input on console |
61 | 61 | * |
62 | - * @return Finder|SplFileInfo[] finder |
|
62 | + * @return Finder finder |
|
63 | 63 | */ |
64 | 64 | protected function getFinder($input) |
65 | 65 | { |