@@ -84,7 +84,7 @@ |
||
| 84 | 84 | /** |
| 85 | 85 | * Get the Response Body |
| 86 | 86 | * |
| 87 | - * @param string|\Psr\Http\Message\ResponseInterface $response Response object |
|
| 87 | + * @param ResponseInterface $response Response object |
|
| 88 | 88 | * |
| 89 | 89 | * @return string |
| 90 | 90 | */ |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | /** |
| 50 | 50 | * Indicates what type of match was found for the result |
| 51 | 51 | * |
| 52 | - * @return bool |
|
| 52 | + * @return string |
|
| 53 | 53 | */ |
| 54 | 54 | public function getMatchType() |
| 55 | 55 | { |
@@ -816,7 +816,7 @@ discard block |
||
| 816 | 816 | /** |
| 817 | 817 | * Upload file in sessions/chunks |
| 818 | 818 | * |
| 819 | - * @param string|DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 819 | + * @param DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 820 | 820 | * @param string $path Path to save the file to, on Dropbox |
| 821 | 821 | * @param int $fileSize The size of the file |
| 822 | 822 | * @param int $chunkSize The amount of data to upload in each chunk |
@@ -881,7 +881,7 @@ discard block |
||
| 881 | 881 | /** |
| 882 | 882 | * Start an Upload Session |
| 883 | 883 | * |
| 884 | - * @param string|DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 884 | + * @param string $dropboxFile DropboxFile object or Path to file |
|
| 885 | 885 | * @param int $chunkSize Size of file chunk to upload |
| 886 | 886 | * @param boolean $close Closes the session for "appendUploadSession" |
| 887 | 887 | * |
@@ -934,7 +934,7 @@ discard block |
||
| 934 | 934 | /** |
| 935 | 935 | * Append more data to an Upload Session |
| 936 | 936 | * |
| 937 | - * @param string|DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 937 | + * @param DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 938 | 938 | * @param string $sessionId Session ID returned by `startUploadSession` |
| 939 | 939 | * @param int $offset The amount of data that has been uploaded so far |
| 940 | 940 | * @param int $chunkSize The amount of data to upload |
@@ -983,7 +983,7 @@ discard block |
||
| 983 | 983 | /** |
| 984 | 984 | * Finish an upload session and save the uploaded data to the given file path |
| 985 | 985 | * |
| 986 | - * @param string|DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 986 | + * @param DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 987 | 987 | * @param string $sessionId Session ID returned by `startUploadSession` |
| 988 | 988 | * @param int $offset The amount of data that has been uploaded so far |
| 989 | 989 | * @param int $remaining The amount of data that is remaining |
@@ -1031,7 +1031,7 @@ discard block |
||
| 1031 | 1031 | /** |
| 1032 | 1032 | * Upload a File to Dropbox in a single request |
| 1033 | 1033 | * |
| 1034 | - * @param string|DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 1034 | + * @param DropboxFile $dropboxFile DropboxFile object or Path to file |
|
| 1035 | 1035 | * @param string $path Path to upload the file to |
| 1036 | 1036 | * @param array $params Additional Params |
| 1037 | 1037 | * |