Completed
Pull Request — develop (#30)
by Narcotic
02:51 queued 01:05
created
src/Command/CoreImportCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
src/Command/ImportCommand.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Command/ImportCommandAbstract.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.