Completed
Push — dev5 ( 92471b...222021 )
by Ron
08:43
created
database/seeds/FileLinksSeeder.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             'link_id'  => 1,
47 47
             'file_id'  => $fileID->file_id,
48 48
             'user_id'  => 1,
49
-            'added_by' => NULL,
49
+            'added_by' => null,
50 50
             'upload'   => 0
51 51
         ]);
52 52
         
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             'link_id'  => 1,
59 59
             'file_id'  => $fileID->file_id,
60 60
             'user_id'  => 1,
61
-            'added_by' => NULL,
61
+            'added_by' => null,
62 62
             'upload'   => 0
63 63
         ]);
64 64
         
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             'link_id'  => 1,
71 71
             'file_id'  => $fileID->file_id,
72 72
             'user_id'  => 1,
73
-            'added_by' => NULL,
73
+            'added_by' => null,
74 74
             'upload'   => 0
75 75
         ]);
76 76
         
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         FileLinkFiles::create([
82 82
             'link_id'  => 1,
83 83
             'file_id'  => $fileID->file_id,
84
-            'user_id'  => NULL,
84
+            'user_id'  => null,
85 85
             'added_by' => $faker->name(),
86 86
             'upload'   => 1
87 87
         ]);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
         FileLinkFiles::create([
94 94
             'link_id'  => 1,
95 95
             'file_id'  => $fileID->file_id,
96
-            'user_id'  => NULL,
96
+            'user_id'  => null,
97 97
             'added_by' => $faker->name(),
98 98
             'upload'   => 1
99 99
         ]);
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/AdminController.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
         
34 34
         foreach($userLinks as $user)
35 35
         {
36
-            $expired = $user->FileLinks->filter(function($lnk)
37
-                       {
36
+            $expired = $user->FileLinks->filter(function($lnk) {
38 37
                            if($lnk->expire < date('Y-m-d'))
39 38
                            {
40 39
                                return $lnk;
Please login to merge, or discard this patch.
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
         foreach($userLinks as $user)
35 35
         {
36 36
             $expired = $user->FileLinks->filter(function($lnk)
37
-                       {
38
-                           if($lnk->expire < date('Y-m-d'))
39
-                           {
40
-                               return $lnk;
41
-                           }
42
-                       })->count();
37
+                        {
38
+                            if($lnk->expire < date('Y-m-d'))
39
+                            {
40
+                                return $lnk;
41
+                            }
42
+                        })->count();
43 43
 
44 44
             $linkCount[] = [
45 45
                 'user_id' => $user->user_id,
Please login to merge, or discard this patch.
database/factories/SystemCategoriesFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Faker\Generator as Faker;
4 4
 
5
-$factory->define(App\SystemCategories::class, function (Faker $faker) {
5
+$factory->define(App\SystemCategories::class, function(Faker $faker) {
6 6
     return [
7 7
         //
8 8
         'cat_id' => 1,
Please login to merge, or discard this patch.