Passed
Push — main ( ec1f24...415d3c )
by PRATIK
06:23 queued 02:37
created
src/Provider/WebsiteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
      */
164 164
     protected function registerRoutes()
165 165
     {
166
-        Route::group($this->routeConfiguration(), function () {
166
+        Route::group($this->routeConfiguration(), function() {
167 167
             $this->loadRoutesFrom(__DIR__.'/../../routes/web.php');
168 168
         });
169 169
     }
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
@@ -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/Repositories/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.
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/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/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.
src/Repositories/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/Repositories/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/Repositories/EventRepository.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 indexEvent()
15 15
     {
16 16
         $events = config('adminetic.caching', true)
17
-            ? (Cache::has('events') ? Cache::get('events') : Cache::rememberForever('events', function () {
17
+            ? (Cache::has('events') ? Cache::get('events') : Cache::rememberForever('events', function() {
18 18
                 return Event::latest()->get();
19 19
             }))
20 20
             : Event::latest()->get();
Please login to merge, or discard this patch.