@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | * @param string $rewriteTo string to replace value from $rewriteHost with during loading |
212 | 212 | * @param boolean $sync send requests syncronously |
213 | 213 | * |
214 | - * @return Promise\Promise|null |
|
214 | + * @return Promise\PromiseInterface |
|
215 | 215 | */ |
216 | 216 | protected function importResource( |
217 | 217 | $targetUrl, |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * |
331 | 331 | * @param Document $doc Data source for import data |
332 | 332 | * @param string $originFile Original full filename used toimport |
333 | - * @return bool|mixed |
|
333 | + * @return false|string |
|
334 | 334 | */ |
335 | 335 | private function validateUploadFile(Document $doc, $originFile) |
336 | 336 | { |