@@ -10,8 +10,8 @@ |
||
| 10 | 10 | public function index() |
| 11 | 11 | { |
| 12 | 12 | $files = collect(); |
| 13 | - foreach(settings('tags_to_merge', []) as $tag) { |
|
| 14 | - foreach(File::withTag($tag)->get() as $file) { |
|
| 13 | + foreach (settings('tags_to_merge', []) as $tag) { |
|
| 14 | + foreach (File::withTag($tag)->get() as $file) { |
|
| 15 | 15 | $files->push($file); |
| 16 | 16 | } |
| 17 | 17 | } |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | { |
| 18 | 18 | $this->authorize('file.download'); |
| 19 | 19 | |
| 20 | - if(Storage::exists($file->path)) { |
|
| 20 | + if (Storage::exists($file->path)) { |
|
| 21 | 21 | return Storage::download($file->path, $file->filename, [ |
| 22 | 22 | 'X-Vapor-Base64-Encode' => 'True' |
| 23 | 23 | ]); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | { |
| 31 | 31 | $this->authorize('file.download'); |
| 32 | 32 | |
| 33 | - if(Storage::exists($file->path)) { |
|
| 33 | + if (Storage::exists($file->path)) { |
|
| 34 | 34 | return Storage::download($file->path, $file->filename, [ |
| 35 | 35 | 'X-Vapor-Base64-Encode' => 'True' |
| 36 | 36 | ]); |