Passed
Push — task/relative-resources ( a614be...f05a29 )
by Tristan
04:50
created
app/Http/Controllers/ResourcesController.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
             $files = Resource::all();
30 30
             foreach ($files as $file) {
31 31
                 array_push($resources, [
32
-                  'link' => asset(Storage::url($file->file)),
33
-                  'title' => '',
34
-                  'text' => $file->name,
32
+                    'link' => asset(Storage::url($file->file)),
33
+                    'title' => '',
34
+                    'text' => $file->name,
35 35
                 ]);
36 36
             }
37 37
 
@@ -44,11 +44,11 @@  discard block
 block discarded – undo
44 44
         $portal = WhichPortal::isHrPortal() ? 'hr' : 'manager';
45 45
 
46 46
         return view('common/resources', [
47
-          // Localized strings.
48
-          'resources_template' => $resources_template,
49
-          'portal' => $portal,
50
-          // List of resource downloads.
51
-          'resources' => $resources,
47
+            // Localized strings.
48
+            'resources_template' => $resources_template,
49
+            'portal' => $portal,
50
+            // List of resource downloads.
51
+            'resources' => $resources,
52 52
         ]);
53 53
     }
54 54
 }
Please login to merge, or discard this patch.