Passed
Pull Request — main (#24)
by PRATIK
19:05 queued 15:10
created
src/Http/Livewire/Admin/Project/ProjectTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
                     '1' => 'Active',
60 60
                     '0' => 'Inactive',
61 61
                 ])
62
-                ->filter(function (Builder $builder, string $value) {
62
+                ->filter(function(Builder $builder, string $value) {
63 63
                     if ($value === '1') {
64 64
                         $builder->where('active', true);
65 65
                     } elseif ($value === '0') {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
                     '1' => 'Featured',
73 73
                     '0' => 'Not Featured',
74 74
                 ])
75
-                ->filter(function (Builder $builder, string $value) {
75
+                ->filter(function(Builder $builder, string $value) {
76 76
                     if ($value === '1') {
77 77
                         $builder->where('featured', true);
78 78
                     } elseif ($value === '0') {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                     '2' => 'Not Started',
87 87
                     '3' => 'Finished',
88 88
                 ])
89
-                ->filter(function (Builder $builder, string $value) {
89
+                ->filter(function(Builder $builder, string $value) {
90 90
                     if ($value === '1') {
91 91
                         $builder->where('status', 1);
92 92
                     } elseif ($value === '2') {
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Process/ProcessTable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                     '1' => 'Active',
36 36
                     '0' => 'Inactive',
37 37
                 ])
38
-                ->filter(function (Builder $builder, string $value) {
38
+                ->filter(function(Builder $builder, string $value) {
39 39
                     if ($value === '1') {
40 40
                         $builder->where('active', true);
41 41
                     } elseif ($value === '0') {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
                     '1' => 'Featured',
49 49
                     '0' => 'Not Featured',
50 50
                 ])
51
-                ->filter(function (Builder $builder, string $value) {
51
+                ->filter(function(Builder $builder, string $value) {
52 52
                     if ($value === '1') {
53 53
                         $builder->where('featured', true);
54 54
                     } elseif ($value === '0') {
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/GalleryRequest.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/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.
src/Http/Requests/TeamRequest.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/PackageRequest.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
             'meta_name' => $this->service->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->service->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.
src/Http/Requests/ServiceRequest.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
             'meta_name' => $this->service->meta_name ?? $this->meta_name ?? $this->name ?? null,
26 26
             'meta_description' => $this->service->meta_description ?? $this->meta_description ?? $this->excerpt ?? null,
27 27
         ]);
Please login to merge, or discard this patch.