@@ -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 | * |
@@ -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 | { |
@@ -213,7 +213,6 @@ discard block |
||
213 | 213 | * @param string $host host to import into |
214 | 214 | * @param string $rewriteHost string to replace with value from $rewriteTo during loading |
215 | 215 | * @param string $rewriteTo string to replace value from $rewriteHost with during loading |
216 | - * @param boolean $sync send requests syncronously |
|
217 | 216 | * @param boolean $noOverwrite should we not overwrite existing records? |
218 | 217 | * |
219 | 218 | * @return void |
@@ -411,7 +410,7 @@ discard block |
||
411 | 410 | * |
412 | 411 | * @param Document $doc Data source for import data |
413 | 412 | * @param string $originFile Original full filename used toimport |
414 | - * @return bool|mixed |
|
413 | + * @return false|string |
|
415 | 414 | */ |
416 | 415 | private function validateUploadFile(Document $doc, $originFile) |
417 | 416 | { |