Passed
Pull Request — main (#34)
by PRATIK
04:46
created
src/Http/Livewire/Admin/Page/PageTable.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/Livewire/Admin/Feature/FeatureTable.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/Livewire/Admin/Package/PackageTable.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/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/Livewire/Admin/Facility/FacilityTable.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/Livewire/Admin/Category/CategoryTable.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/Livewire/Admin/Software/SoftwareTable.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/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/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.