Passed
Pull Request — main (#17)
by PRATIK
19:29 queued 15:07
created
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/Provider/WebsiteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      */
189 189
     protected function registerResource()
190 190
     {
191
-        if (! config('website.publish_migrations', true)) {
191
+        if (!config('website.publish_migrations', true)) {
192 192
             $this->loadMigrationsFrom(__DIR__.'/../../database/migrations'); // Loading Migration Files
193 193
         }
194 194
         $this->loadViewsFrom(__DIR__.'/../../resources/views', 'website'); // Loading Views Files
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
      */
218 218
     protected function registerRoutes()
219 219
     {
220
-        Route::group($this->routeConfiguration(), function () {
220
+        Route::group($this->routeConfiguration(), function() {
221 221
             $this->loadRoutesFrom(__DIR__.'/../../routes/web.php');
222 222
         });
223 223
     }
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
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function indexPopup()
15 15
     {
16 16
         $popups = config('adminetic.caching', true)
17
-            ? (Cache::has('popups') ? Cache::get('popups') : Cache::rememberForever('popups', function () {
17
+            ? (Cache::has('popups') ? Cache::get('popups') : Cache::rememberForever('popups', function() {
18 18
                 return Popup::latest()->get();
19 19
             }))
20 20
             : Popup::latest()->get();
Please login to merge, or discard this patch.