Passed
Push — main ( 0230d8...7f267a )
by PRATIK
03:52
created
src/Repositories/PostRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function indexPost()
16 16
     {
17 17
         $posts = config('adminetic.caching', true)
18
-            ? (Cache::has('posts') ? Cache::get('posts') : Cache::rememberForever('posts', function () {
18
+            ? (Cache::has('posts') ? Cache::get('posts') : Cache::rememberForever('posts', function() {
19 19
                 return Post::orderBy('position')->get();
20 20
             }))
21 21
             : Post::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/CounterRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     public function indexCounter()
14 14
     {
15 15
         $counters = config('adminetic.caching', true)
16
-            ? (Cache::has('counters') ? Cache::get('counters') : Cache::rememberForever('counters', function () {
16
+            ? (Cache::has('counters') ? Cache::get('counters') : Cache::rememberForever('counters', function() {
17 17
                 return Counter::orderBy('position')->get();
18 18
             }))
19 19
             : Counter::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Http/Livewire/Admin/Dashboard/NewsHeadline.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()
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
     }
Please login to merge, or discard this patch.
payload/modules/medialibrarypro/src/Rules/ItemRules/ExtensionRule.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/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.