@@ -340,7 +340,7 @@ |
||
340 | 340 | * |
341 | 341 | * @param string $releaseGuid The guid of the release. |
342 | 342 | * |
343 | - * @return bool|string On success: (string) Path+file name of the nzb. |
|
343 | + * @return string|false On success: (string) Path+file name of the nzb. |
|
344 | 344 | * On failure: (bool) False. |
345 | 345 | */ |
346 | 346 | public function NZBPath($releaseGuid) |
@@ -250,7 +250,7 @@ |
||
250 | 250 | /** |
251 | 251 | * sendRequest(). |
252 | 252 | * |
253 | - * @param $path |
|
253 | + * @param string $path |
|
254 | 254 | * @param array $params |
255 | 255 | * |
256 | 256 | * @return array |
@@ -129,7 +129,7 @@ |
||
129 | 129 | /** |
130 | 130 | * Gets the Cast Members "Stars" and Director if any. |
131 | 131 | * |
132 | - * @return array |
|
132 | + * @return boolean |
|
133 | 133 | */ |
134 | 134 | protected function cast() |
135 | 135 | { |
@@ -132,7 +132,7 @@ discard block |
||
132 | 132 | /** |
133 | 133 | * Go through every type of post proc. |
134 | 134 | * |
135 | - * @param $nntp |
|
135 | + * @param NNTP $nntp |
|
136 | 136 | * |
137 | 137 | * @return void |
138 | 138 | * @throws \Exception |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | * |
267 | 267 | * @param string $groupID (Optional) ID of a group to work on. |
268 | 268 | * @param string $guidChar (Optional) First letter of a release GUID to use to get work. |
269 | - * @param string|int|null $processTV (Optional) 0 Don't process, 1 process all releases, |
|
269 | + * @param integer $processTV (Optional) 0 Don't process, 1 process all releases, |
|
270 | 270 | * 2 process renamed releases only, '' check site setting |
271 | 271 | * |
272 | 272 | * @return void |
@@ -84,8 +84,8 @@ |
||
84 | 84 | * Main processing director function for TMDB |
85 | 85 | * Calls work query function and initiates processing. |
86 | 86 | * |
87 | - * @param $groupID |
|
88 | - * @param $guidChar |
|
87 | + * @param string $groupID |
|
88 | + * @param string $guidChar |
|
89 | 89 | * @param $process |
90 | 90 | * @param bool $local |
91 | 91 | */ |
@@ -96,7 +96,7 @@ |
||
96 | 96 | * |
97 | 97 | * @param string $searchTerm The parsed game name from the release searchname |
98 | 98 | * |
99 | - * @return false|int $bestMatch The Best match from the given search term |
|
99 | + * @return integer $bestMatch The Best match from the given search term |
|
100 | 100 | * @throws \Exception |
101 | 101 | */ |
102 | 102 | public function search($searchTerm) |
@@ -316,7 +316,7 @@ |
||
316 | 316 | * @param $setting |
317 | 317 | * @param $value |
318 | 318 | * |
319 | - * @return bool|\PDOStatement |
|
319 | + * @return integer |
|
320 | 320 | */ |
321 | 321 | public function updateItem($setting, $value) |
322 | 322 | { |
@@ -277,7 +277,7 @@ |
||
277 | 277 | /** |
278 | 278 | * @param null|string $filepath |
279 | 279 | * |
280 | - * @return object|\SimpleXMLElement |
|
280 | + * @return \SimpleXMLElement |
|
281 | 281 | * @throws \Exception |
282 | 282 | */ |
283 | 283 | public function getValidVersionsFile($filepath = null) |
@@ -9,7 +9,7 @@ |
||
9 | 9 | if (! function_exists('getRawHtml')) { |
10 | 10 | |
11 | 11 | /** |
12 | - * @param $url |
|
12 | + * @param string $url |
|
13 | 13 | * @param bool|string $cookie |
14 | 14 | * |
15 | 15 | * @return bool|string |