Completed
Branch dev (c992ef)
by Darko
06:17
created
nntmux/utility/SmartyUtils.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
  * @param string $text	Text to match against.
39 39
  * @param string $page	Type of page. browse or search.
40 40
  *
41
- *@return bool|string
41
+ *@return string|false
42 42
  */
43 43
 function release_flag($text, $page)
44 44
 {
Please login to merge, or discard this patch.
app/Extensions/util/Versions.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -297,6 +297,9 @@  discard block
 block discarded – undo
297 297
         }
298 298
     }
299 299
 
300
+    /**
301
+     * @param integer $property
302
+     */
300 303
     protected function isChanged($property)
301 304
     {
302 305
         return ($this->changes & $property) === $property;
@@ -336,6 +339,10 @@  discard block
 block discarded – undo
336 339
         }
337 340
     }
338 341
 
342
+    /**
343
+     * @param string $methodOld
344
+     * @param string $methodUse
345
+     */
339 346
     private function deprecated($methodOld, $methodUse)
340 347
     {
341 348
         trigger_error("This method ($methodOld) is deprecated. Please use '$methodUse' instead.",
Please login to merge, or discard this patch.
nntmux/Binaries.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1602,7 +1602,7 @@
 block discarded – undo
1602 1602
      * Return all blacklists.
1603 1603
      *
1604 1604
      * @param bool   $activeOnly Only display active blacklists ?
1605
-     * @param int|string    $opType     Optional, get white or black lists (use Binaries constants).
1605
+     * @param integer    $opType     Optional, get white or black lists (use Binaries constants).
1606 1606
      * @param string $groupName  Optional, group.
1607 1607
      * @param bool   $groupRegex Optional Join groups / binaryblacklist using regexp for equals.
1608 1608
      *
Please login to merge, or discard this patch.
nntmux/Games.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -860,7 +860,7 @@
 block discarded – undo
860 860
     /**
861 861
      * See if genre name exists.
862 862
      *
863
-     * @param $gameGenre
863
+     * @param string $gameGenre
864 864
      *
865 865
      * @return bool|string
866 866
      */
Please login to merge, or discard this patch.
nntmux/http/XML_Response.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return bool|string
119
+     * @return string|false
120 120
      */
121 121
     public function returnXML()
122 122
     {
@@ -672,7 +672,7 @@  discard block
 block discarded – undo
672 672
     /**
673 673
      * Accepts an array of values to loop through to build cData from the release info.
674 674
      *
675
-     * @param array $columns The columns in the release we need to insert
675
+     * @param string[] $columns The columns in the release we need to insert
676 676
      *
677 677
      * @return string The HTML format cData
678 678
      */
Please login to merge, or discard this patch.
nntmux/IRCClient.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
      * @param string $nickName The nick name - visible in the channel.
300 300
      * @param string $userName The user name - visible in the host name.
301 301
      * @param string $realName The real name - visible in the WhoIs.
302
-     * @param null   $password The password  - some servers require a password.
302
+     * @param string|false   $password The password  - some servers require a password.
303 303
      *
304 304
      * @return bool
305 305
      */
@@ -586,6 +586,7 @@  discard block
 block discarded – undo
586 586
      * Write a single character to the socket.
587 587
      *
588 588
      * @param string (char) $character A single character.
589
+     * @param string $character
589 590
      *
590 591
      * @return int|bool Number of bytes written or false.
591 592
      */
Please login to merge, or discard this patch.
nntmux/libraries/FanartTV.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * The constructor setting the config variables.
21 21
      *
22
-     * @param $apiKey
22
+     * @param string|null $apiKey
23 23
      */
24 24
     public function __construct($apiKey)
25 25
     {
Please login to merge, or discard this patch.
nntmux/MiscSorter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
     /**
416 416
      * @param string $nfo
417 417
      *
418
-     * @return bool|mixed
418
+     * @return string|false
419 419
      */
420 420
     private function _getVideoQuality($nfo = '')
421 421
     {
Please login to merge, or discard this patch.
nntmux/Nfo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
     /**
275 275
      * Attempt to find NFO files inside the NZB's of releases.
276 276
      *
277
-     * @param        $nntp
277
+     * @param        NNTP $nntp
278 278
      * @param string $groupID     (optional) Group ID.
279 279
      * @param string $guidChar    (optional) First character of the release GUID (used for multi-processing).
280 280
      * @param int    $processImdb (optional) Attempt to find IMDB id's in the NZB?
Please login to merge, or discard this patch.