Passed
Push — main ( b0db37...6013cc )
by PRATIK
14:50
created
src/Repositories/TeamRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 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();
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         if (request()->image) {
66 66
             $thumbnails = [
67
-                'storage' => 'website/team/' . validImageFolder($team->name, 'default'),
67
+                'storage' => 'website/team/'.validImageFolder($team->name, 'default'),
68 68
                 'width' => '400',
69 69
                 'height' => '600',
70 70
                 'quality' => '90',
Please login to merge, or discard this patch.