@@ -1150,7 +1150,7 @@ |
||
1150 | 1150 | * |
1151 | 1151 | * @param int $attribute |
1152 | 1152 | * |
1153 | - * @return bool|mixed |
|
1153 | + * @return string |
|
1154 | 1154 | */ |
1155 | 1155 | public function getAttribute($attribute) |
1156 | 1156 | { |
@@ -157,7 +157,7 @@ |
||
157 | 157 | * |
158 | 158 | * @param $relid |
159 | 159 | * @param $gid |
160 | - * @param $uid |
|
160 | + * @param string $uid |
|
161 | 161 | */ |
162 | 162 | public function postComment($relid, $gid, $uid) |
163 | 163 | { |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | /** |
145 | 145 | * Get all group columns by Name |
146 | 146 | * |
147 | - * @param $grp |
|
147 | + * @param string $grp |
|
148 | 148 | * |
149 | 149 | * @return array|bool |
150 | 150 | */ |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | * |
315 | 315 | * @param string $groupName The full name of the usenet group being evaluated |
316 | 316 | * |
317 | - * @return string|bool The name of the group replacing shorthand prefix or false if groupname was malformed |
|
317 | + * @return string|false The name of the group replacing shorthand prefix or false if groupname was malformed |
|
318 | 318 | */ |
319 | 319 | public function isValidGroup($groupName) |
320 | 320 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @return bool|void |
|
115 | + * @return string|false |
|
116 | 116 | */ |
117 | 117 | public function returnXML() |
118 | 118 | { |
@@ -668,7 +668,7 @@ discard block |
||
668 | 668 | /** |
669 | 669 | * Accepts an array of values to loop through to build cData from the release info |
670 | 670 | * |
671 | - * @param array $columns The columns in the release we need to insert |
|
671 | + * @param string[] $columns The columns in the release we need to insert |
|
672 | 672 | * |
673 | 673 | * @return string The HTML format cData |
674 | 674 | */ |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | * @param string $nickName The nick name - visible in the channel. |
330 | 330 | * @param string $userName The user name - visible in the host name. |
331 | 331 | * @param string $realName The real name - visible in the WhoIs. |
332 | - * @param null $password The password - some servers require a password. |
|
332 | + * @param string|false $password The password - some servers require a password. |
|
333 | 333 | * |
334 | 334 | * @return bool |
335 | 335 | * |
@@ -641,6 +641,7 @@ discard block |
||
641 | 641 | * Write a single character to the socket. |
642 | 642 | * |
643 | 643 | * @param string (char) $character A single character. |
644 | + * @param string $character |
|
644 | 645 | * |
645 | 646 | * @return int|bool Number of bytes written or false. |
646 | 647 | */ |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
279 | 279 | |
280 | 280 | /** |
281 | - * @return int |
|
281 | + * @return string|null |
|
282 | 282 | */ |
283 | 283 | private function backfillMainMethod() |
284 | 284 | { |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | } |
305 | 305 | |
306 | 306 | /** |
307 | - * @return int |
|
307 | + * @return string|null |
|
308 | 308 | */ |
309 | 309 | private function safeBackfillMainMethod() |
310 | 310 | { |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | } |
423 | 423 | |
424 | 424 | /** |
425 | - * @return int |
|
425 | + * @return string|null |
|
426 | 426 | */ |
427 | 427 | private function safeBinariesMainMethod() |
428 | 428 | { |
@@ -303,7 +303,7 @@ discard block |
||
303 | 303 | /** |
304 | 304 | * Get resource usage string. |
305 | 305 | * |
306 | - * @return bool|string |
|
306 | + * @return string|false |
|
307 | 307 | * |
308 | 308 | * @access public |
309 | 309 | */ |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | /** |
325 | 325 | * Get system load. |
326 | 326 | * |
327 | - * @return string|bool |
|
327 | + * @return string|false |
|
328 | 328 | * |
329 | 329 | * @access public |
330 | 330 | */ |
@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | /** |
385 | 385 | * Order types for movies page. |
386 | 386 | * |
387 | - * @return array |
|
387 | + * @return string[] |
|
388 | 388 | */ |
389 | 389 | public function getMovieOrdering() |
390 | 390 | { |
@@ -556,7 +556,7 @@ discard block |
||
556 | 556 | |
557 | 557 | /** |
558 | 558 | * Get array of column keys, for inserting / updating. |
559 | - * @return array |
|
559 | + * @return string[] |
|
560 | 560 | */ |
561 | 561 | public function getColumnKeys() |
562 | 562 | { |
@@ -612,7 +612,7 @@ discard block |
||
612 | 612 | * |
613 | 613 | * @param $variable |
614 | 614 | * |
615 | - * @return string |
|
615 | + * @return boolean |
|
616 | 616 | */ |
617 | 617 | protected function checkVariable(&$variable) |
618 | 618 | { |
@@ -646,7 +646,7 @@ discard block |
||
646 | 646 | /** |
647 | 647 | * Fetch IMDB/TMDB/TRAKT info for the movie. |
648 | 648 | * |
649 | - * @param $imdbId |
|
649 | + * @param string $imdbId |
|
650 | 650 | * |
651 | 651 | * @return bool |
652 | 652 | */ |
@@ -1453,7 +1453,7 @@ discard block |
||
1453 | 1453 | /** |
1454 | 1454 | * Get IMDB genres. |
1455 | 1455 | * |
1456 | - * @return array |
|
1456 | + * @return string[] |
|
1457 | 1457 | */ |
1458 | 1458 | public function getGenres() |
1459 | 1459 | { |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | * |
193 | 193 | * @param string $nfo The nfo. |
194 | 194 | * @param array $release The SQL row for this release. |
195 | - * @param object $nntp Instance of class NNTP. |
|
195 | + * @param NNTP $nntp Instance of class NNTP. |
|
196 | 196 | * |
197 | 197 | * @return bool True on success, False on failure. |
198 | 198 | * |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | /** |
276 | 276 | * Attempt to find NFO files inside the NZB's of releases. |
277 | 277 | * |
278 | - * @param object $nntp Instance of class NNTP. |
|
278 | + * @param NNTP $nntp Instance of class NNTP. |
|
279 | 279 | * @param string $groupID (optional) Group ID. |
280 | 280 | * @param string $guidChar (optional) First character of the release GUID (used for multi-processing). |
281 | 281 | * @param int $processImdb (optional) Attempt to find IMDB id's in the NZB? |