Passed
Pull Request — main (#34)
by PRATIK
04:46
created
payload/modules/medialibrarypro/src/Rules/ItemRules/WidthBetweenRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function validateMediaItem(): bool
14 14
     {
15
-        if (! $media = $this->getTemporaryUploadMedia()) {
15
+        if (!$media = $this->getTemporaryUploadMedia()) {
16 16
             return true;
17 17
         }
18 18
 
Please login to merge, or discard this patch.
payload/modules/medialibrarypro/src/Rules/ItemRules/MinItemSizeInKbRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function validateMediaItem(): bool
14 14
     {
15
-        if (! $media = $this->getTemporaryUploadMedia()) {
15
+        if (!$media = $this->getTemporaryUploadMedia()) {
16 16
             return true;
17 17
         }
18 18
 
Please login to merge, or discard this patch.
payload/modules/medialibrarypro/src/Rules/ItemRules/HeightBetweenRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function validateMediaItem(): bool
14 14
     {
15
-        if (! $media = $this->getTemporaryUploadMedia()) {
15
+        if (!$media = $this->getTemporaryUploadMedia()) {
16 16
             return true;
17 17
         }
18 18
 
Please login to merge, or discard this patch.
payload/modules/medialibrarypro/src/Rules/ItemRules/MimeTypeRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function validateMediaItem(): bool
14 14
     {
15
-        if (! $media = $this->getTemporaryUploadMedia()) {
15
+        if (!$media = $this->getTemporaryUploadMedia()) {
16 16
             return true;
17 17
         }
18 18
 
Please login to merge, or discard this patch.
payload/modules/medialibrarypro/src/Rules/ItemRules/MaxItemSizeInKbRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     public function validateMediaItem(): bool
14 14
     {
15
-        if (! $media = $this->getTemporaryUploadMedia()) {
15
+        if (!$media = $this->getTemporaryUploadMedia()) {
16 16
             return true;
17 17
         }
18 18
 
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Testimonial/TestimonialTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
                     '1' => 'Approved',
51 51
                     '0' => 'Not Approved',
52 52
                 ])
53
-                ->filter(function (Builder $builder, string $value) {
53
+                ->filter(function(Builder $builder, string $value) {
54 54
                     if ($value === '1') {
55 55
                         $builder->where('approved', true);
56 56
                     } elseif ($value === '0') {
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Service/ServiceTable.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/Notice/NoticeTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                     '1' => 'Active',
37 37
                     '0' => 'Inactive',
38 38
                 ])
39
-                ->filter(function (Builder $builder, string $value) {
39
+                ->filter(function(Builder $builder, string $value) {
40 40
                     if ($value === '1') {
41 41
                         $builder->where('active', true);
42 42
                     } elseif ($value === '0') {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
                     '1' => 'Popup',
50 50
                     '0' => 'No Popup',
51 51
                 ])
52
-                ->filter(function (Builder $builder, string $value) {
52
+                ->filter(function(Builder $builder, string $value) {
53 53
                     if ($value === '1') {
54 54
                         $builder->where('popup', true);
55 55
                     } elseif ($value === '0') {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
                 ->collapseOnTablet(),
122 122
             Column::make('Expiry', 'expire')
123 123
                 ->format(
124
-                    fn ($value, $row, Column $column) => ! is_null($row->expire) ? (Carbon::create($row->expire))->toFormattedDayDateString() : ''
124
+                    fn ($value, $row, Column $column) => !is_null($row->expire) ? (Carbon::create($row->expire))->toFormattedDayDateString() : ''
125 125
                 )
126 126
                 ->html()
127 127
                 ->collapseOnTablet(),
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Software/SoftwareModules.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
     public function mount($software)
13 13
     {
14
-        if (! is_null($software)) {
14
+        if (!is_null($software)) {
15 15
             $this->software = $software;
16 16
             $data = $software->data;
17 17
             $this->modules = $data['modules'] ?? null;
Please login to merge, or discard this patch.