Passed
Branch main (41364a)
by PRATIK
13:53
created
Category
src/Models/Admin/Role.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@
 block discarded – undo
32 32
     {
33 33
         parent::boot();
34 34
 
35
-        static::saving(function () {
35
+        static::saving(function() {
36 36
             self::cacheKey();
37 37
         });
38 38
 
39
-        static::deleting(function () {
39
+        static::deleting(function() {
40 40
             self::cacheKey();
41 41
         });
42 42
     }
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
@@ -17,11 +17,11 @@
 block discarded – undo
17 17
     {
18 18
         parent::boot();
19 19
 
20
-        static::saving(function () {
20
+        static::saving(function() {
21 21
             self::cacheKey();
22 22
         });
23 23
 
24
-        static::deleting(function () {
24
+        static::deleting(function() {
25 25
             self::cacheKey();
26 26
         });
27 27
     }
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
@@ -23,11 +23,11 @@
 block discarded – undo
23 23
     {
24 24
         parent::boot();
25 25
 
26
-        static::saving(function () {
26
+        static::saving(function() {
27 27
             self::cacheKey();
28 28
         });
29 29
 
30
-        static::deleting(function () {
30
+        static::deleting(function() {
31 31
             self::cacheKey();
32 32
         });
33 33
     }
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
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
     {
19 19
         parent::boot();
20 20
 
21
-        static::saving(function () {
21
+        static::saving(function() {
22 22
             self::cacheKey();
23 23
         });
24 24
 
25
-        static::deleting(function () {
25
+        static::deleting(function() {
26 26
             self::cacheKey();
27 27
         });
28 28
     }
Please login to merge, or discard this patch.
src/Console/Commands/AdmineticDummyCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function handle()
44 44
     {
45
-        if (! config('adminetic.migrate_with_dummy', false)) {
45
+        if (!config('adminetic.migrate_with_dummy', false)) {
46 46
             // Generating Roles
47 47
             $roles = [
48 48
                 [
Please login to merge, or discard this patch.