Passed
Push — main ( 7ec2fe...bfff7a )
by PRATIK
12:40 queued 12s
created
database/migrations/2021_05_28_051525_create_preference_user_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('preference_user', function (Blueprint $table) {
16
+        Schema::create('preference_user', function(Blueprint $table) {
17 17
             $table->id();
18 18
             $table->unsignedBigInteger('preference_id');
19 19
             $table->unsignedBigInteger('user_id');
Please login to merge, or discard this patch.
database/migrations/2020_11_13_000001_create_role_user_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('role_user', function (Blueprint $table) {
16
+        Schema::create('role_user', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18 18
             $table->unsignedBigInteger('role_id');
19 19
             $table->unsignedBigInteger('user_id');
Please login to merge, or discard this patch.
src/Traits/AdmineticUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     {
16 16
         parent::boot();
17 17
 
18
-        static::saving(function () {
18
+        static::saving(function() {
19 19
             self::cacheKey();
20 20
         });
21 21
 
22
-        static::deleting(function () {
22
+        static::deleting(function() {
23 23
             self::cacheKey();
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
src/Http/Controllers/Admin/SocialiteController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $user = User::where('email', $socialiteuser->email)->first();
51 51
 
52
-        if (! isset($user)) {
52
+        if (!isset($user)) {
53 53
             $user = User::create([
54 54
                 'name' => $socialiteuser->name,
55 55
                 'email' => $socialiteuser->email,
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
             $preferences = Preference::all();
80 80
             if (isset($preferences)) {
81 81
                 foreach ($preferences as $preference) {
82
-                    if (! isset($preference->roles)) {
82
+                    if (!isset($preference->roles)) {
83 83
                         $user->preferences()->attach($preference->id, [
84 84
                             'enabled' => $preference->active,
85 85
                         ]);
Please login to merge, or discard this patch.
src/Http/Controllers/Auth/RegisterController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $preferences = Preference::all();
91 91
         if (isset($preferences)) {
92 92
             foreach ($preferences as $preference) {
93
-                if (! isset($preference->roles)) {
93
+                if (!isset($preference->roles)) {
94 94
                     $user->preferences()->attach($preference->id, [
95 95
                         'enabled' => $preference->active,
96 96
                     ]);
Please login to merge, or discard this patch.
src/Models/Admin/Setting.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     {
16 16
         parent::boot();
17 17
 
18
-        static::saving(function () {
18
+        static::saving(function() {
19 19
             self::cacheKey();
20 20
         });
21 21
 
22
-        static::deleting(function () {
22
+        static::deleting(function() {
23 23
             self::cacheKey();
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
src/Models/Admin/Preference.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     {
16 16
         parent::boot();
17 17
 
18
-        static::saving(function () {
18
+        static::saving(function() {
19 19
             self::cacheKey();
20 20
         });
21 21
 
22
-        static::deleting(function () {
22
+        static::deleting(function() {
23 23
             self::cacheKey();
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
src/Models/Admin/Permission.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     {
16 16
         parent::boot();
17 17
 
18
-        static::saving(function () {
18
+        static::saving(function() {
19 19
             self::cacheKey();
20 20
         });
21 21
 
22
-        static::deleting(function () {
22
+        static::deleting(function() {
23 23
             self::cacheKey();
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
src/Models/Admin/Role.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
     {
16 16
         parent::boot();
17 17
 
18
-        static::saving(function () {
18
+        static::saving(function() {
19 19
             self::cacheKey();
20 20
         });
21 21
 
22
-        static::deleting(function () {
22
+        static::deleting(function() {
23 23
             self::cacheKey();
24 24
         });
25 25
     }
Please login to merge, or discard this patch.