Passed
Pull Request — main (#16)
by PRATIK
07:30 queued 03:47
created
src/Repositories/ServiceRepository.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 indexService()
15 15
     {
16 16
         $services = config('adminetic.caching', true)
17
-            ? (Cache::has('services') ? Cache::get('services') : Cache::rememberForever('services', function () {
17
+            ? (Cache::has('services') ? Cache::get('services') : Cache::rememberForever('services', function() {
18 18
                 return Service::orderBy('position')->get();
19 19
             }))
20 20
             : Service::orderBy('position')->get();
Please login to merge, or discard this patch.
src/Repositories/FacilityRepository.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 indexFacility()
14 14
     {
15 15
         $facilities = config('adminetic.caching', true)
16
-            ? (Cache::has('facilities') ? Cache::get('facilities') : Cache::rememberForever('facilities', function () {
16
+            ? (Cache::has('facilities') ? Cache::get('facilities') : Cache::rememberForever('facilities', function() {
17 17
                 return Facility::orderBy('position')->get();
18 18
             }))
19 19
             : Facility::orderBy('position')->get();
Please login to merge, or discard this patch.