Passed
Pull Request — main (#36)
by
unknown
04:47
created
src/Models/Admin/Attribute.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/Models/Admin/Download.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/Models/Admin/Payment.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/Models/Admin/Testimonial.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/Models/Admin/Faq.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/Repositories/AttributeRepository.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
     public function indexAttribute()
14 14
     {
15 15
         $attributes = config('coderz.caching', true)
16
-            ? (Cache::has('attributes') ? Cache::get('attributes') : Cache::rememberForever('attributes', function () {
16
+            ? (Cache::has('attributes') ? Cache::get('attributes') : Cache::rememberForever('attributes', function() {
17 17
                 return Attribute::orderBy('position')->get();
18 18
             }))
19 19
             : Attribute::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/PaymentRepository.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
     public function indexPayment()
14 14
     {
15 15
         $payments = config('adminetic.caching', true)
16
-            ? (Cache::has('payments') ? Cache::get('payments') : Cache::rememberForever('payments', function () {
16
+            ? (Cache::has('payments') ? Cache::get('payments') : Cache::rememberForever('payments', function() {
17 17
                 return Payment::orderBy('position')->get();
18 18
             }))
19 19
             : Payment::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/FeatureRepository.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
     public function indexFeature()
14 14
     {
15 15
         $features = config('adminetic.caching', true)
16
-            ? (Cache::has('features') ? Cache::get('features') : Cache::rememberForever('features', function () {
16
+            ? (Cache::has('features') ? Cache::get('features') : Cache::rememberForever('features', function() {
17 17
                 return Feature::orderBy('position')->get();
18 18
             }))
19 19
             : Feature::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/DownloadRepository.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
     public function indexDownload()
14 14
     {
15 15
         $downloads = config('adminetic.caching', true)
16
-            ? (Cache::has('downloads') ? Cache::get('downloads') : Cache::rememberForever('downloads', function () {
16
+            ? (Cache::has('downloads') ? Cache::get('downloads') : Cache::rememberForever('downloads', function() {
17 17
                 return Download::orderBy('position')->get();
18 18
             }))
19 19
             : Download::orderBy('position')->get();
Please login to merge, or discard this patch.