Passed
Branch main (5c52b6)
by PRATIK
10:54
created
Category
src/Repository/ImageRepository.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 indexImage()
14 14
     {
15 15
         $images = config('adminetic.caching', true)
16
-            ? (Cache::has('images') ? Cache::get('images') : Cache::rememberForever('images', function () {
16
+            ? (Cache::has('images') ? Cache::get('images') : Cache::rememberForever('images', function() {
17 17
                 return Image::latest()->get();
18 18
             }))
19 19
             : Image::latest()->get();
Please login to merge, or discard this patch.
src/Repository/PackageRepository.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 indexPackage()
14 14
     {
15 15
         $packages = config('adminetic.caching', true)
16
-            ? (Cache::has('packages') ? Cache::get('packages') : Cache::rememberForever('packages', function () {
16
+            ? (Cache::has('packages') ? Cache::get('packages') : Cache::rememberForever('packages', function() {
17 17
                 return Package::latest()->get();
18 18
             }))
19 19
             : Package::latest()->get();
Please login to merge, or discard this patch.
src/Repository/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::latest()->get();
18 18
             }))
19 19
             : Counter::latest()->get();
Please login to merge, or discard this patch.
src/Repository/FaqRepository.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 indexFaq()
14 14
     {
15 15
         $faqs = config('adminetic.caching', true)
16
-            ? (Cache::has('faqs') ? Cache::get('faqs') : Cache::rememberForever('faqs', function () {
16
+            ? (Cache::has('faqs') ? Cache::get('faqs') : Cache::rememberForever('faqs', function() {
17 17
                 return Faq::latest()->get();
18 18
             }))
19 19
             : Faq::latest()->get();
Please login to merge, or discard this patch.
src/Repository/ClientRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function indexClient()
15 15
     {
16 16
         $clients = config('adminetic.caching', true)
17
-            ? (Cache::has('clients') ? Cache::get('clients') : Cache::rememberForever('clients', function () {
17
+            ? (Cache::has('clients') ? Cache::get('clients') : Cache::rememberForever('clients', function() {
18 18
                 return Client::latest()->get();
19 19
             }))
20 20
             : Client::latest()->get();
Please login to merge, or discard this patch.
src/Repository/GalleryRepository.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 indexGallery()
16 16
     {
17 17
         $galleries = config('adminetic.caching', true)
18
-            ? (Cache::has('galleries') ? Cache::get('galleries') : Cache::rememberForever('galleries', function () {
18
+            ? (Cache::has('galleries') ? Cache::get('galleries') : Cache::rememberForever('galleries', function() {
19 19
                 return Gallery::latest()->get();
20 20
             }))
21 21
             : Gallery::latest()->get();
Please login to merge, or discard this patch.
src/Repository/TeamRepository.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 indexTeam()
14 14
     {
15 15
         $teams = config('adminetic.caching', true)
16
-            ? (Cache::has('teams') ? Cache::get('teams') : Cache::rememberForever('teams', function () {
16
+            ? (Cache::has('teams') ? Cache::get('teams') : Cache::rememberForever('teams', function() {
17 17
                 return Team::orderBy('position')->get();
18 18
             }))
19 19
             : Team::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repository/PageRepository.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 indexPage()
14 14
     {
15 15
         $pages = config('adminetic.caching', true)
16
-            ? (Cache::has('pages') ? Cache::get('pages') : Cache::rememberForever('pages', function () {
16
+            ? (Cache::has('pages') ? Cache::get('pages') : Cache::rememberForever('pages', function() {
17 17
                 return Page::orderBy('position')->get();
18 18
             }))
19 19
             : Page::orderBy('position')->get();
Please login to merge, or discard this patch.