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 2 patches
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.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 namespace App\Extensions\util;
21 21
 
22 22
 use App\Models\Settings;
23
-use nntmux\utility\Utility;
24 23
 use Illuminate\Database\Eloquent\Collection;
24
+use nntmux\utility\Utility;
25 25
 
26 26
 class Versions extends Collection
27 27
 {
Please login to merge, or discard this patch.
nntmux/Binaries.php 2 patches
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.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
5
+use App\Models\BinaryBlacklist;
6 6
 use App\Models\Group;
7
+use App\Models\MultigroupPoster;
7 8
 use App\Models\Settings;
8 9
 use Illuminate\Support\Carbon;
9
-use App\Models\BinaryBlacklist;
10
-use App\Models\MultigroupPoster;
11 10
 use Illuminate\Support\Facades\Cache;
11
+use nntmux\db\DB;
12 12
 use nntmux\processing\ProcessReleasesMultiGroup;
13 13
 
14 14
 /**
Please login to merge, or discard this patch.
nntmux/Games.php 2 patches
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.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,15 +2,15 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
6
-use App\Models\Genre;
7 5
 use App\Models\Category;
8
-use App\Models\Settings;
9 6
 use App\Models\GamesInfo;
10
-use Illuminate\Support\Carbon;
7
+use App\Models\Genre;
8
+use App\Models\Settings;
11 9
 use DBorsatto\GiantBomb\Client;
12 10
 use DBorsatto\GiantBomb\Config;
11
+use Illuminate\Support\Carbon;
13 12
 use Illuminate\Support\Facades\Cache;
13
+use nntmux\db\DB;
14 14
 
15 15
 class Games
16 16
 {
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 2 patches
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.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
6 5
 use ApaiIO\ApaiIO;
7
-use App\Models\Settings;
8
-use ApaiIO\Operations\Lookup;
9 6
 use ApaiIO\Configuration\GenericConfiguration;
7
+use ApaiIO\Operations\Lookup;
10 8
 use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject;
9
+use App\Models\Settings;
10
+use nntmux\db\DB;
11 11
 
12 12
 /**
13 13
  * Class MiscSorter.
Please login to merge, or discard this patch.
nntmux/Nfo.php 2 patches
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.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use App\Models\Group;
6 6
 use App\Models\Release;
7
-use App\Models\Settings;
8 7
 use App\Models\ReleaseNfo;
9
-use nntmux\utility\Utility;
10
-use dariusiii\rarinfo\SfvInfo;
8
+use App\Models\Settings;
11 9
 use dariusiii\rarinfo\Par2Info;
10
+use dariusiii\rarinfo\SfvInfo;
12 11
 use nntmux\processing\PostProcess;
12
+use nntmux\utility\Utility;
13 13
 
14 14
 /**
15 15
  * Class Nfo
Please login to merge, or discard this patch.