Passed
Push — main ( f4f1f6...b3a018 )
by PRATIK
14:01
created
src/Repository/CategoryRepository.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 indexCategory()
14 14
     {
15 15
         $categories = config('adminetic.caching', true)
16
-            ? (Cache::has('categories') ? Cache::get('categories') : Cache::rememberForever('categories', function () {
16
+            ? (Cache::has('categories') ? Cache::get('categories') : Cache::rememberForever('categories', function() {
17 17
                 return Category::whereNull('parent_id')->with('childrenCategories')->orderBy('position')->get();
18 18
             }))
19 19
             : Category::whereNull('parent_id')->with('childrenCategories')->orderBy('position')->get();
Please login to merge, or discard this patch.