@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * |
| 26 | 26 | * @see https://api.put.io/v2/docs/account.html#get--account-info |
| 27 | 27 | * |
| 28 | - * @return mixed |
|
| 28 | + * @return string |
|
| 29 | 29 | */ |
| 30 | 30 | public function info() |
| 31 | 31 | { |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * |
| 40 | 40 | * @see https://api.put.io/v2/docs/account.html#get--account-settings |
| 41 | 41 | * |
| 42 | - * @return mixed |
|
| 42 | + * @return string |
|
| 43 | 43 | */ |
| 44 | 44 | public function settings() |
| 45 | 45 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @see https://api.put.io/v2/docs/account.html#post--account-settings |
| 59 | 59 | * |
| 60 | - * @return mixed |
|
| 60 | + * @return string |
|
| 61 | 61 | */ |
| 62 | 62 | public function update( |
| 63 | 63 | int $default_download_folder = null, |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | * |
| 28 | 28 | * @see https://api.put.io/v2/docs/files.html#list |
| 29 | 29 | * |
| 30 | - * @return mixed |
|
| 30 | + * @return string |
|
| 31 | 31 | */ |
| 32 | 32 | public function list(int $parent_id = 0) |
| 33 | 33 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @see https://api.put.io/v2/docs/files.html#search |
| 50 | 50 | * |
| 51 | - * @return mixed |
|
| 51 | + * @return string |
|
| 52 | 52 | */ |
| 53 | 53 | public function search(string $keyword, array $from = [], array $type = [], array $ext = [], int $page = 1) |
| 54 | 54 | { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * |
| 69 | 69 | * @see https://api.put.io/v2/docs/files.html#upload |
| 70 | 70 | * |
| 71 | - * @return mixed |
|
| 71 | + * @return string |
|
| 72 | 72 | */ |
| 73 | 73 | public function upload(string $file, string $filename = null, int $parent_id = 0) |
| 74 | 74 | { |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @see https://api.put.io/v2/docs/files.html#create-folder |
| 101 | 101 | * |
| 102 | - * @return mixed |
|
| 102 | + * @return string |
|
| 103 | 103 | */ |
| 104 | 104 | public function createFolder(string $name, int $parent_id = 0) |
| 105 | 105 | { |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | * |
| 121 | 121 | * @see https://api.put.io/v2/docs/files.html#get |
| 122 | 122 | * |
| 123 | - * @return mixed |
|
| 123 | + * @return string |
|
| 124 | 124 | */ |
| 125 | 125 | public function get(int $id) |
| 126 | 126 | { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | * |
| 137 | 137 | * @see https://api.put.io/v2/docs/files.html#delete |
| 138 | 138 | * |
| 139 | - * @return mixed |
|
| 139 | + * @return string |
|
| 140 | 140 | */ |
| 141 | 141 | public function delete(array $file_ids = []) |
| 142 | 142 | { |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * |
| 160 | 160 | * @see https://api.put.io/v2/docs/files.html#rename |
| 161 | 161 | * |
| 162 | - * @return mixed |
|
| 162 | + * @return string |
|
| 163 | 163 | */ |
| 164 | 164 | public function rename(int $id, string $name) |
| 165 | 165 | { |
@@ -174,14 +174,12 @@ discard block |
||
| 174 | 174 | /** |
| 175 | 175 | * Moves given file/folder |
| 176 | 176 | * |
| 177 | - * @param integer $id |
|
| 178 | - * @param string $name |
|
| 179 | 177 | * |
| 180 | 178 | * @throws \GuzzleHttp\Exception\GuzzleException |
| 181 | 179 | * |
| 182 | 180 | * @see https://api.put.io/v2/docs/files.html#move |
| 183 | 181 | * |
| 184 | - * @return mixed |
|
| 182 | + * @return string |
|
| 185 | 183 | */ |
| 186 | 184 | public function move(array $file_ids = [], int $parent_id = 0) |
| 187 | 185 | { |
@@ -202,7 +200,7 @@ discard block |
||
| 202 | 200 | * |
| 203 | 201 | * @see https://api.put.io/v2/docs/files.html#convert-to-mp4 |
| 204 | 202 | * |
| 205 | - * @return mixed |
|
| 203 | + * @return string |
|
| 206 | 204 | */ |
| 207 | 205 | public function convertToMp4(int $id) |
| 208 | 206 | { |
@@ -218,7 +216,7 @@ discard block |
||
| 218 | 216 | * |
| 219 | 217 | * @see https://api.put.io/v2/docs/files.html#get-mp4-status |
| 220 | 218 | * |
| 221 | - * @return mixed |
|
| 219 | + * @return string |
|
| 222 | 220 | */ |
| 223 | 221 | public function getMp4Status(int $id) |
| 224 | 222 | { |
@@ -235,7 +233,7 @@ discard block |
||
| 235 | 233 | * |
| 236 | 234 | * @see https://api.put.io/v2/docs/files.html#download |
| 237 | 235 | * |
| 238 | - * @return mixed |
|
| 236 | + * @return string |
|
| 239 | 237 | */ |
| 240 | 238 | public function download(int $id, string $path, string $filename = null) |
| 241 | 239 | { |
@@ -267,7 +265,7 @@ discard block |
||
| 267 | 265 | * |
| 268 | 266 | * @see https://api.put.io/v2/docs/files.html#sharing |
| 269 | 267 | * |
| 270 | - * @return mixed |
|
| 268 | + * @return string |
|
| 271 | 269 | */ |
| 272 | 270 | public function share(array $file_ids = [], array $friends = []) |
| 273 | 271 | { |
@@ -286,7 +284,7 @@ discard block |
||
| 286 | 284 | * |
| 287 | 285 | * @see https://api.put.io/v2/docs/files.html#get--files-shared |
| 288 | 286 | * |
| 289 | - * @return mixed |
|
| 287 | + * @return string |
|
| 290 | 288 | */ |
| 291 | 289 | public function shared() |
| 292 | 290 | { |
@@ -303,7 +301,7 @@ discard block |
||
| 303 | 301 | * |
| 304 | 302 | * @see https://api.put.io/v2/docs/files.html#get--files--id--shared-with |
| 305 | 303 | * |
| 306 | - * @return mixed |
|
| 304 | + * @return string |
|
| 307 | 305 | */ |
| 308 | 306 | public function sharedWith(int $id) |
| 309 | 307 | { |
@@ -320,7 +318,7 @@ discard block |
||
| 320 | 318 | * |
| 321 | 319 | * @see https://api.put.io/v2/docs/files.html#post--files--id--unshare |
| 322 | 320 | * |
| 323 | - * @return mixed |
|
| 321 | + * @return string |
|
| 324 | 322 | */ |
| 325 | 323 | public function unshare(int $id, array $friends = []) |
| 326 | 324 | { |
@@ -341,7 +339,7 @@ discard block |
||
| 341 | 339 | * |
| 342 | 340 | * @see https://api.put.io/v2/docs/files.html#subtitles |
| 343 | 341 | * |
| 344 | - * @return mixed |
|
| 342 | + * @return string |
|
| 345 | 343 | */ |
| 346 | 344 | public function subtitles(int $id) |
| 347 | 345 | { |
@@ -361,7 +359,7 @@ discard block |
||
| 361 | 359 | * |
| 362 | 360 | * @see https://api.put.io/v2/docs/files.html#download-subtitle |
| 363 | 361 | * |
| 364 | - * @return mixed |
|
| 362 | + * @return string |
|
| 365 | 363 | */ |
| 366 | 364 | public function downloadSubtitle( |
| 367 | 365 | int $id, |
@@ -397,7 +395,7 @@ discard block |
||
| 397 | 395 | * |
| 398 | 396 | * @see https://api.put.io/v2/docs/files.html#hls-playlist |
| 399 | 397 | * |
| 400 | - * @return mixed |
|
| 398 | + * @return string |
|
| 401 | 399 | */ |
| 402 | 400 | public function hlsPlaylist(int $id, string $path, string $filename = null, string $subtitle_key = 'all') |
| 403 | 401 | { |
@@ -423,7 +421,7 @@ discard block |
||
| 423 | 421 | * |
| 424 | 422 | * @see https://api.put.io/v2/docs/files.html#get--events-list |
| 425 | 423 | * |
| 426 | - * @return mixed |
|
| 424 | + * @return string |
|
| 427 | 425 | */ |
| 428 | 426 | public function events() |
| 429 | 427 | { |
@@ -438,7 +436,7 @@ discard block |
||
| 438 | 436 | * |
| 439 | 437 | * @see https://api.put.io/v2/docs/files.html#post--events-delete |
| 440 | 438 | * |
| 441 | - * @return mixed |
|
| 439 | + * @return string |
|
| 442 | 440 | */ |
| 443 | 441 | public function deleteEvents() |
| 444 | 442 | { |
@@ -449,13 +447,13 @@ discard block |
||
| 449 | 447 | * Sets default video position for a video file. |
| 450 | 448 | * |
| 451 | 449 | * @param integer $id |
| 452 | - * @param string $time |
|
| 450 | + * @param integer $time |
|
| 453 | 451 | * |
| 454 | 452 | * @throws \GuzzleHttp\Exception\GuzzleException |
| 455 | 453 | * |
| 456 | 454 | * @see https://api.put.io/v2/docs/files.html#set-video-position |
| 457 | 455 | * |
| 458 | - * @return mixed |
|
| 456 | + * @return string |
|
| 459 | 457 | */ |
| 460 | 458 | public function setVideoPosition(int $id, int $time) |
| 461 | 459 | { |
@@ -475,7 +473,7 @@ discard block |
||
| 475 | 473 | * |
| 476 | 474 | * @see https://api.put.io/v2/docs/files.html#delete-video-position |
| 477 | 475 | * |
| 478 | - * @return mixed |
|
| 476 | + * @return string |
|
| 479 | 477 | */ |
| 480 | 478 | public function deleteVideoPosition(int $id) |
| 481 | 479 | { |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * Files instance |
| 29 | 29 | * |
| 30 | - * @return Mozammil\Putio\Files |
|
| 30 | + * @return Files |
|
| 31 | 31 | */ |
| 32 | 32 | public function files() |
| 33 | 33 | { |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * Transfers instance |
| 39 | 39 | * |
| 40 | - * @return Mozammil\Putio\Transfers |
|
| 40 | + * @return Transfers |
|
| 41 | 41 | */ |
| 42 | 42 | public function transfers() |
| 43 | 43 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Zips instance |
| 49 | 49 | * |
| 50 | - * @return Mozammil\Putio\Zips |
|
| 50 | + * @return Zips |
|
| 51 | 51 | */ |
| 52 | 52 | public function zips() |
| 53 | 53 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | /** |
| 58 | 58 | * Feeds instance |
| 59 | 59 | * |
| 60 | - * @return Mozammil\Putio\Feeds |
|
| 60 | + * @return Feeds |
|
| 61 | 61 | */ |
| 62 | 62 | public function feeds() |
| 63 | 63 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * Friends instance |
| 69 | 69 | * |
| 70 | - * @return Mozammil\Putio\Friends |
|
| 70 | + * @return Friends |
|
| 71 | 71 | */ |
| 72 | 72 | public function friends() |
| 73 | 73 | { |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | /** |
| 78 | 78 | * Account instance |
| 79 | 79 | * |
| 80 | - * @return Mozammil\Putio\Account |
|
| 80 | + * @return Account |
|
| 81 | 81 | */ |
| 82 | 82 | public function account() |
| 83 | 83 | { |