Completed
Push — master ( 2994aa...19d116 )
by Patrick
08:28
created
src/Dropbox/Dropbox.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -755,7 +755,7 @@  discard block
 block discarded – undo
755 755
     /**
756 756
      * Upload file in sessions/chunks
757 757
      *
758
-     * @param  string|DropboxFile $dropboxFile DropboxFile object or Path to file
758
+     * @param  DropboxFile $dropboxFile DropboxFile object or Path to file
759 759
      * @param  string             $path        Path to save the file to, on Dropbox
760 760
      * @param  int                $fileSize    The size of the file
761 761
      * @param  int                $chunkSize   The amount of data to upload in each chunk
@@ -820,7 +820,7 @@  discard block
 block discarded – undo
820 820
     /**
821 821
      * Start an Upload Session
822 822
      *
823
-     * @param  string|DropboxFile $dropboxFile DropboxFile object or Path to file
823
+     * @param  string $dropboxFile DropboxFile object or Path to file
824 824
      * @param  int                $chunkSize   Size of file chunk to upload
825 825
      * @param  boolean            $close       Closes the session for "appendUploadSession"
826 826
      *
@@ -874,7 +874,7 @@  discard block
 block discarded – undo
874 874
     /**
875 875
      * Append more data to an Upload Session
876 876
      *
877
-     * @param  string|DropboxFile $dropboxFile DropboxFile object or Path to file
877
+     * @param  DropboxFile $dropboxFile DropboxFile object or Path to file
878 878
      * @param  string             $sessionId   Session ID returned by `startUploadSession`
879 879
      * @param  int                $offset      The amount of data that has been uploaded so far
880 880
      * @param  int                $chunkSize   The amount of data to upload
@@ -916,7 +916,7 @@  discard block
 block discarded – undo
916 916
     /**
917 917
      * Finish an upload session and save the uploaded data to the given file path
918 918
      *
919
-     * @param  string|DropboxFile $dropboxFile DropboxFile object or Path to file
919
+     * @param  DropboxFile $dropboxFile DropboxFile object or Path to file
920 920
      * @param  string             $sessionId   Session ID returned by `startUploadSession`
921 921
      * @param  int                $offset      The amount of data that has been uploaded so far
922 922
      * @param  int                $remaining   The amount of data that is remaining
@@ -957,7 +957,7 @@  discard block
 block discarded – undo
957 957
     /**
958 958
      * Upload a File to Dropbox in a single request
959 959
      *
960
-     * @param  string|DropboxFile $dropboxFile DropboxFile object or Path to file
960
+     * @param  DropboxFile $dropboxFile DropboxFile object or Path to file
961 961
      * @param  string             $path        Path to upload the file to
962 962
      * @param  array              $params      Additional Params
963 963
      *
Please login to merge, or discard this patch.
Unused Use Statements   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -2,21 +2,21 @@
 block discarded – undo
2 2
 
3 3
 namespace Dropbox;
4 4
 
5
-use Dropbox\Models\File;
5
+use Dropbox\Authentication\DropboxAuthHelper;
6
+use Dropbox\Authentication\OAuth2Client;
7
+use Dropbox\Exceptions\DropboxClientException;
8
+use Dropbox\Http\Clients\DropboxHttpClientFactory;
6 9
 use Dropbox\Models\Account;
7
-use Dropbox\Models\Thumbnail;
8 10
 use Dropbox\Models\AccountList;
9
-use Dropbox\Models\ModelFactory;
10
-use Dropbox\Models\FileMetadata;
11 11
 use Dropbox\Models\CopyReference;
12
+use Dropbox\Models\File;
13
+use Dropbox\Models\FileMetadata;
12 14
 use Dropbox\Models\FolderMetadata;
13 15
 use Dropbox\Models\ModelCollection;
14
-use Dropbox\Authentication\OAuth2Client;
15
-use Dropbox\Store\PersistentDataStoreFactory;
16
-use Dropbox\Authentication\DropboxAuthHelper;
17
-use Dropbox\Exceptions\DropboxClientException;
16
+use Dropbox\Models\ModelFactory;
17
+use Dropbox\Models\Thumbnail;
18 18
 use Dropbox\Security\RandomStringGeneratorFactory;
19
-use Dropbox\Http\Clients\DropboxHttpClientFactory;
19
+use Dropbox\Store\PersistentDataStoreFactory;
20 20
 
21 21
 /**
22 22
  * Dropbox
Please login to merge, or discard this patch.