@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @param int $groupID |
| 114 | 114 | * @param string $groupName |
| 115 | 115 | * |
| 116 | - * @return bool |
|
| 116 | + * @return false|string |
|
| 117 | 117 | * |
| 118 | 118 | * @access public |
| 119 | 119 | */ |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * @param int $groupID |
| 162 | 162 | * @param bool $nfoCheck |
| 163 | 163 | * |
| 164 | - * @return array|bool |
|
| 164 | + * @return string |
|
| 165 | 165 | * |
| 166 | 166 | * @access public |
| 167 | 167 | */ |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | * |
| 347 | 347 | * @param int $limit The speed to limit it to. |
| 348 | 348 | * |
| 349 | - * @return bool |
|
| 349 | + * @return boolean|null |
|
| 350 | 350 | * |
| 351 | 351 | * @access public |
| 352 | 352 | */ |
@@ -399,7 +399,7 @@ discard block |
||
| 399 | 399 | /** |
| 400 | 400 | * Request for current status (summary) information. Parts of informations returned by this method can be printed by command "nzbget -L". |
| 401 | 401 | * |
| 402 | - * @return array The status. |
|
| 402 | + * @return boolean The status. |
|
| 403 | 403 | * |
| 404 | 404 | * @access public |
| 405 | 405 | */ |
@@ -428,7 +428,7 @@ discard block |
||
| 428 | 428 | * |
| 429 | 429 | * @param string $url NZBGet URL to verify. |
| 430 | 430 | * |
| 431 | - * @return bool|string |
|
| 431 | + * @return string|false |
|
| 432 | 432 | * |
| 433 | 433 | * @access public |
| 434 | 434 | */ |
@@ -68,6 +68,9 @@ |
||
| 68 | 68 | return $this->isLoaded; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @param string $loc |
|
| 73 | + */ |
|
| 71 | 74 | public function loadFromFile($loc, $loadAllVars=false) |
| 72 | 75 | { |
| 73 | 76 | $this->source = $loc; |
@@ -270,7 +270,7 @@ |
||
| 270 | 270 | /** |
| 271 | 271 | * sendRequest() |
| 272 | 272 | * |
| 273 | - * @param $path |
|
| 273 | + * @param string $path |
|
| 274 | 274 | * @param array $params |
| 275 | 275 | * |
| 276 | 276 | * @return array |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | /** |
| 126 | 126 | * Go through every type of post proc. |
| 127 | 127 | * |
| 128 | - * @param $nntp |
|
| 128 | + * @param \nntmux\NNTP $nntp |
|
| 129 | 129 | * |
| 130 | 130 | * @return void |
| 131 | 131 | */ |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | * |
| 255 | 255 | * @param string $groupID (Optional) ID of a group to work on. |
| 256 | 256 | * @param string $guidChar (Optional) First letter of a release GUID to use to get work. |
| 257 | - * @param string|int $processTV (Optional) 0 Don't process, 1 process all releases, |
|
| 257 | + * @param integer $processTV (Optional) 0 Don't process, 1 process all releases, |
|
| 258 | 258 | * 2 process renamed releases only, '' check site setting |
| 259 | 259 | * |
| 260 | 260 | * @return void |
@@ -91,8 +91,8 @@ |
||
| 91 | 91 | * Main processing director function for scrapers |
| 92 | 92 | * Calls work query function and initiates processing |
| 93 | 93 | * |
| 94 | - * @param $groupID |
|
| 95 | - * @param $guidChar |
|
| 94 | + * @param string $groupID |
|
| 95 | + * @param string $guidChar |
|
| 96 | 96 | * @param $process |
| 97 | 97 | * @param bool $local |
| 98 | 98 | */ |
@@ -379,7 +379,7 @@ |
||
| 379 | 379 | /** |
| 380 | 380 | * Sets the TV show's image column to found (1) |
| 381 | 381 | * |
| 382 | - * @param $videoId |
|
| 382 | + * @param integer $videoId |
|
| 383 | 383 | */ |
| 384 | 384 | public function setCoverFound($videoId) |
| 385 | 385 | { |
@@ -55,8 +55,8 @@ discard block |
||
| 55 | 55 | * Main processing director function for scrapers |
| 56 | 56 | * Calls work query function and initiates processing |
| 57 | 57 | * |
| 58 | - * @param $groupID |
|
| 59 | - * @param $guidChar |
|
| 58 | + * @param string $groupID |
|
| 59 | + * @param string $guidChar |
|
| 60 | 60 | * @param $process |
| 61 | 61 | * @param bool $local |
| 62 | 62 | */ |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | /** |
| 266 | 266 | * @param $shows |
| 267 | - * @param $cleanName |
|
| 267 | + * @param string $cleanName |
|
| 268 | 268 | * |
| 269 | 269 | * @return array|bool |
| 270 | 270 | */ |
@@ -448,7 +448,7 @@ |
||
| 448 | 448 | * |
| 449 | 449 | * @param $episode |
| 450 | 450 | * |
| 451 | - * @return array |
|
| 451 | + * @return boolean |
|
| 452 | 452 | */ |
| 453 | 453 | protected function formatEpisodeInfo($episode) |
| 454 | 454 | { |