@@ -105,7 +105,8 @@ |
||
105 | 105 | { |
106 | 106 | $data = Files::find($fileID); |
107 | 107 | // Move the file to the proper folder |
108 | - try{ |
|
108 | + try |
|
109 | + { |
|
109 | 110 | |
110 | 111 | Storage::move($data->file_link.$data->file_name, $newPath.DIRECTORY_SEPARATOR.$data->file_name); |
111 | 112 | } |
@@ -25,7 +25,8 @@ |
||
25 | 25 | ->withCount('FileLinkFiles') |
26 | 26 | ->orderBy('expire', 'desc')->get(); |
27 | 27 | |
28 | - if ($this->collection) { |
|
28 | + if ($this->collection) |
|
29 | + { |
|
29 | 30 | return new FileLinksCollection($links); |
30 | 31 | } |
31 | 32 |