Passed
Push — main ( 1d9eb2...bb78af )
by PRATIK
06:49 queued 02:16
created
src/Repositories/PaymentRepository.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 indexPayment()
14 14
     {
15 15
         $payments = config('adminetic.caching', true)
16
-            ? (Cache::has('payments') ? Cache::get('payments') : Cache::rememberForever('payments', function () {
16
+            ? (Cache::has('payments') ? Cache::get('payments') : Cache::rememberForever('payments', function() {
17 17
                 return Payment::orderBy('position')->get();
18 18
             }))
19 19
             : Payment::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/FeatureRepository.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 indexFeature()
14 14
     {
15 15
         $features = config('adminetic.caching', true)
16
-            ? (Cache::has('features') ? Cache::get('features') : Cache::rememberForever('features', function () {
16
+            ? (Cache::has('features') ? Cache::get('features') : Cache::rememberForever('features', function() {
17 17
                 return Feature::orderBy('position')->get();
18 18
             }))
19 19
             : Feature::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/DownloadRepository.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 indexDownload()
14 14
     {
15 15
         $downloads = config('adminetic.caching', true)
16
-            ? (Cache::has('downloads') ? Cache::get('downloads') : Cache::rememberForever('downloads', function () {
16
+            ? (Cache::has('downloads') ? Cache::get('downloads') : Cache::rememberForever('downloads', function() {
17 17
                 return Download::orderBy('position')->get();
18 18
             }))
19 19
             : Download::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/NoticeRepository.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 indexNotice()
14 14
     {
15 15
         $notices = config('adminetic.caching', true)
16
-            ? (Cache::has('notices') ? Cache::get('notices') : Cache::rememberForever('notices', function () {
16
+            ? (Cache::has('notices') ? Cache::get('notices') : Cache::rememberForever('notices', function() {
17 17
                 return Notice::orderBy('position')->get();
18 18
             }))
19 19
             : Notice::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/SoftwareRepository.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 indexSoftware()
14 14
     {
15 15
         $software = config('adminetic.caching', true)
16
-            ? (Cache::has('software') ? Cache::get('software') : Cache::rememberForever('software', function () {
16
+            ? (Cache::has('software') ? Cache::get('software') : Cache::rememberForever('software', function() {
17 17
                 return Software::orderBy('position')->get();
18 18
             }))
19 19
             : Software::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/ProductRepository.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 indexProduct()
14 14
     {
15 15
         $products = config('adminetic.caching', true)
16
-            ? (Cache::has('products') ? Cache::get('products') : Cache::rememberForever('products', function () {
16
+            ? (Cache::has('products') ? Cache::get('products') : Cache::rememberForever('products', function() {
17 17
                 return Product::orderBy('position')->get();
18 18
             }))
19 19
             : Product::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/PopupRepository.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 indexPopup()
14 14
     {
15 15
         $popups = config('adminetic.caching', true)
16
-            ? (Cache::has('popups') ? Cache::get('popups') : Cache::rememberForever('popups', function () {
16
+            ? (Cache::has('popups') ? Cache::get('popups') : Cache::rememberForever('popups', function() {
17 17
                 return Popup::orderBy('position')->get();
18 18
             }))
19 19
             : Popup::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/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::orderBy('position')->get();
18 18
             }))
19 19
             : Faq::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/GalleryRepository.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 indexGallery()
14 14
     {
15 15
         $galleries = config('adminetic.caching', true)
16
-            ? (Cache::has('galleries') ? Cache::get('galleries') : Cache::rememberForever('galleries', function () {
16
+            ? (Cache::has('galleries') ? Cache::get('galleries') : Cache::rememberForever('galleries', function() {
17 17
                 return Gallery::orderBy('position')->get();
18 18
             }))
19 19
             : Gallery::orderBy('position')->get();
Please login to merge, or discard this patch.