Completed
Branch dev (c992ef)
by Darko
06:17
created
app/Models/Group.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      * Get active backfill groups ordered by name ascending.
109 109
      *
110 110
      *
111
-     * @param $order
111
+     * @param string $order
112 112
      * @return array|\Illuminate\Database\Eloquent\Collection|static[]
113 113
      */
114 114
     public static function getActiveBackfill($order)
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      * Get all group columns by Name.
142 142
      *
143 143
      *
144
-     * @param $grp
144
+     * @param string $grp
145 145
      * @return \Illuminate\Database\Eloquent\Model|null|static
146 146
      */
147 147
     public static function getByName($grp)
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      *
262 262
      * @param string $groupName The full name of the usenet group being evaluated
263 263
      *
264
-     * @return string|bool The name of the group replacing shorthand prefix or false if groupname was malformed
264
+     * @return string|false The name of the group replacing shorthand prefix or false if groupname was malformed
265 265
      */
266 266
     public static function isValidGroup($groupName)
267 267
     {
Please login to merge, or discard this patch.
Unused Use Statements   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Models;
4 4
 
5
-use nntmux\NZB;
6
-use nntmux\NNTP;
7
-use nntmux\ColorCLI;
8
-use nntmux\Releases;
9
-use nntmux\ReleaseImage;
5
+use Illuminate\Database\Eloquent\Model;
10 6
 use Illuminate\Support\Carbon;
11 7
 use Illuminate\Support\Facades\DB;
12
-use Illuminate\Database\Eloquent\Model;
8
+use nntmux\ColorCLI;
9
+use nntmux\NNTP;
10
+use nntmux\NZB;
11
+use nntmux\ReleaseImage;
12
+use nntmux\Releases;
13 13
 
14 14
 class Group extends Model
15 15
 {
Please login to merge, or discard this patch.
app/Models/Menu.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param $role
26
-     * @param $serverurl
26
+     * @param string $serverurl
27 27
      * @return array
28 28
      */
29 29
     public static function getMenu($role, $serverurl): array
Please login to merge, or discard this patch.
app/Models/ReleaseComment.php 1 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 App\Models;
4 4
 
5
-use Illuminate\Support\Carbon;
6 5
 use Illuminate\Database\Eloquent\Model;
6
+use Illuminate\Support\Carbon;
7 7
 
8 8
 class ReleaseComment extends Model
9 9
 {
Please login to merge, or discard this patch.
app/Models/UserExcludedCategory.php 1 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 App\Models;
4 4
 
5
-use Illuminate\Support\Carbon;
6 5
 use Illuminate\Database\Eloquent\Model;
6
+use Illuminate\Support\Carbon;
7 7
 
8 8
 class UserExcludedCategory extends Model
9 9
 {
Please login to merge, or discard this patch.
app/Models/UserSerie.php 1 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 App\Models;
4 4
 
5
-use Illuminate\Support\Carbon;
6 5
 use Illuminate\Database\Eloquent\Model;
6
+use Illuminate\Support\Carbon;
7 7
 
8 8
 class UserSerie extends Model
9 9
 {
Please login to merge, or discard this patch.
app/Models/Video.php 1 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 App\Models;
4 4
 
5
-use Illuminate\Support\Carbon;
6 5
 use Illuminate\Database\Eloquent\Model;
6
+use Illuminate\Support\Carbon;
7 7
 
8 8
 class Video extends Model
9 9
 {
Please login to merge, or discard this patch.
misc/testing/fix_filesize.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@
 block discarded – undo
8 8
 
9 9
 require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
10 10
 
11
+use App\Models\Settings;
11 12
 use nntmux\NZB;
12 13
 use nntmux\db\DB;
13
-use App\Models\Settings;
14 14
 
15 15
 $pdo = new DB;
16 16
 $nzb = new NZB();
Please login to merge, or discard this patch.
misc/testing/PostProc/getXXXSamples.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
4 4
 
5
-use nntmux\db\DB;
6 5
 use App\Models\Category;
7 6
 use nntmux\ReleaseImage;
7
+use nntmux\db\DB;
8 8
 
9 9
 $pdo = new DB();
10 10
 
Please login to merge, or discard this patch.
misc/update/tmux/bin/groupfixrelnames.php 1 patch
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -2,17 +2,17 @@
 block discarded – undo
2 2
 
3 3
 require_once dirname(__DIR__, 4).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
4 4
 
5
-use nntmux\Nfo;
6
-use nntmux\NZB;
7
-use nntmux\NNTP;
8
-use nntmux\db\DB;
9
-use nntmux\ColorCLI;
5
+use App\Models\Category;
10 6
 use App\Models\Predb;
11
-use nntmux\NameFixer;
7
+use App\Models\Settings;
8
+use nntmux\ColorCLI;
12 9
 use nntmux\MiscSorter;
10
+use nntmux\NNTP;
11
+use nntmux\NZB;
13 12
 use nntmux\NZBContents;
14
-use App\Models\Category;
15
-use App\Models\Settings;
13
+use nntmux\NameFixer;
14
+use nntmux\Nfo;
15
+use nntmux\db\DB;
16 16
 use nntmux\processing\PostProcess;
17 17
 
18 18
 $pdo = new DB();
Please login to merge, or discard this patch.