Completed
Branch dev (c992ef)
by Darko
06:17
created
nntmux/NZB.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
5
+use App\Extensions\util\Versions;
6 6
 use App\Models\Settings;
7
+use nntmux\db\DB;
7 8
 use nntmux\utility\Utility;
8
-use App\Extensions\util\Versions;
9 9
 
10 10
 /**
11 11
  * Class for reading and writing NZB files on the hard disk,
Please login to merge, or discard this patch.
nntmux/NZBVortex.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use Page;
6 5
 use App\Models\User;
6
+use Page;
7 7
 
8 8
 final class NZBVortex
9 9
 {
Please login to merge, or discard this patch.
nntmux/processing/adult/AEBN.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
nntmux/processing/PostProcess.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -2,30 +2,30 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux\processing;
4 4
 
5
-use nntmux\Nfo;
6
-use nntmux\XXX;
7
-use nntmux\NNTP;
5
+use App\Models\Category;
6
+use App\Models\Group;
7
+use App\Models\Release;
8
+use App\Models\ReleaseFile;
9
+use App\Models\Settings;
10
+use Illuminate\Support\Carbon;
11
+use dariusiii\rarinfo\Par2Info;
8 12
 use nntmux\Books;
9
-use nntmux\db\DB;
13
+use nntmux\Console;
10 14
 use nntmux\Games;
11 15
 use nntmux\Movie;
12 16
 use nntmux\Music;
13
-use nntmux\Console;
14
-use nntmux\Sharing;
15
-use App\Models\Group;
17
+use nntmux\NNTP;
16 18
 use nntmux\NameFixer;
17
-use App\Models\Release;
18
-use App\Models\Category;
19
-use App\Models\Settings;
20
-use App\Models\ReleaseFile;
21
-use Illuminate\Support\Carbon;
19
+use nntmux\Nfo;
20
+use nntmux\Sharing;
21
+use nntmux\XXX;
22
+use nntmux\db\DB;
23
+use nntmux\processing\post\AniDB;
24
+use nntmux\processing\post\ProcessAdditional;
22 25
 use nntmux\processing\tv\TMDB;
23 26
 use nntmux\processing\tv\TVDB;
24
-use dariusiii\rarinfo\Par2Info;
25 27
 use nntmux\processing\tv\TVMaze;
26
-use nntmux\processing\post\AniDB;
27 28
 use nntmux\processing\tv\TraktTv;
28
-use nntmux\processing\post\ProcessAdditional;
29 29
 
30 30
 class PostProcess
31 31
 {
Please login to merge, or discard this patch.
nntmux/processing/tv/TMDB.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,8 +84,8 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux\processing\tv;
4 4
 
5
-use Tmdb\Client;
6
-use Tmdb\ApiToken;
7
-use nntmux\ColorCLI;
8 5
 use App\Models\Settings;
9
-use nntmux\ReleaseImage;
10
-use Tmdb\Helper\ImageHelper;
6
+use Tmdb\ApiToken;
7
+use Tmdb\Client;
11 8
 use Tmdb\Exception\TmdbApiException;
9
+use Tmdb\Helper\ImageHelper;
12 10
 use Tmdb\Repository\ConfigurationRepository;
11
+use nntmux\ColorCLI;
12
+use nntmux\ReleaseImage;
13 13
 
14 14
 class TMDB extends TV
15 15
 {
Please login to merge, or discard this patch.
nntmux/Steam.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
6 5
 use App\Models\Settings;
7 6
 use App\Models\SteamApp;
8 7
 use b3rs3rk\steamfront\Main;
8
+use nntmux\db\DB;
9 9
 
10 10
 class Steam
11 11
 {
Please login to merge, or discard this patch.
nntmux/Tmux.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace nntmux;
4 4
 
5
-use nntmux\db\DB;
6
-use App\Models\Category;
7 5
 use App\Extensions\util\Versions;
6
+use App\Models\Category;
8 7
 use App\Models\Tmux as TmuxModel;
8
+use nntmux\db\DB;
9 9
 
10 10
 /**
11 11
  * Class Tmux.
Please login to merge, or discard this patch.
nntmux/utility/Versions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
app/Extensions/helper/helpers.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use nntmux\XXX;
4
-use nntmux\ColorCLI;
5 3
 use GuzzleHttp\Client;
6 4
 use GuzzleHttp\Cookie\CookieJar;
7 5
 use GuzzleHttp\Cookie\SetCookie;
8 6
 use GuzzleHttp\Exception\RequestException;
7
+use nntmux\ColorCLI;
8
+use nntmux\XXX;
9 9
 
10 10
 if (! function_exists('getRawHtml')) {
11 11
 
Please login to merge, or discard this patch.