@@ -11,7 +11,7 @@ |
||
11 | 11 | |
12 | 12 | public function mount() |
13 | 13 | { |
14 | - $this->headline_news = auth()->user()->notifications->filter(function ($n) { |
|
14 | + $this->headline_news = auth()->user()->notifications->filter(function($n) { |
|
15 | 15 | return Carbon::now()->isSameDay($n->created_at); |
16 | 16 | }); |
17 | 17 | } |
@@ -12,7 +12,7 @@ |
||
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 |
@@ -12,7 +12,7 @@ |
||
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 |
@@ -12,7 +12,7 @@ |
||
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 |
@@ -12,7 +12,7 @@ |
||
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 |
@@ -12,7 +12,7 @@ |
||
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 |
@@ -12,7 +12,7 @@ |
||
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 |
@@ -50,7 +50,7 @@ |
||
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') { |
@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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') { |