Passed
Pull Request — main (#35)
by PRATIK
16:09 queued 12:17
created
src/Models/Admin/Feature.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/Team.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/Process.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/Http/Requests/ClientRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     protected function prepareForValidation(): void
22 22
     {
23 23
         $this->merge([
24
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
24
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
25 25
         ]);
26 26
     }
27 27
 
Please login to merge, or discard this patch.
src/Http/Requests/CategoryRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $this->merge([
25 25
             'root_parent_id' => $this->getMainCategory($this->category->parent_id ?? null),
26
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
26
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
27 27
             'meta_name' => $this->category->meta_name ?? $this->meta_name ?? $this->name ?? null,
28 28
             'meta_description' => $this->category->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
29 29
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/PostRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     protected function prepareForValidation(): void
23 23
     {
24 24
         $this->merge([
25
-            'slug' => ! is_null($this->name) ? Str::slug($this->name) : null,
25
+            'slug' => !is_null($this->name) ? Str::slug($this->name) : null,
26 26
             'meta_name' => $this->post->meta_name ?? $this->meta_name ?? $this->name ?? null,
27 27
             'meta_description' => $this->post->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
28 28
             'user_id' => Auth::user()->id,
Please login to merge, or discard this patch.