Passed
Pull Request — main (#10)
by PRATIK
06:21 queued 02:11
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/BlockRepository.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 indexBlock()
15 15
     {
16 16
         $blocks = config('adminetic.caching', true)
17
-            ? (Cache::has('blocks') ? Cache::get('blocks') : Cache::rememberForever('blocks', function () {
17
+            ? (Cache::has('blocks') ? Cache::get('blocks') : Cache::rememberForever('blocks', function() {
18 18
                 return Block::orderBy('position')->get();
19 19
             }))
20 20
             : Block::orderBy('position')->get();
Please login to merge, or discard this patch.