We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f65ac66 commit 9c5e35eCopy full SHA for 9c5e35e
app/Http/Controllers/FileUploadController.php
@@ -72,7 +72,7 @@ public function download(FileUpload $fileUpload)
72
}
73
74
// Check if the file exists
75
- if (!Storage::exists($fileUpload->path)) {
+ if (! Storage::exists($fileUpload->path)) {
76
abort(404, 'File not found.');
77
78
app/Models/FileUpload.php
@@ -35,8 +35,6 @@ public function user(): BelongsTo
35
36
/**
37
* Get the file's download URL.
38
- *
39
- * @return string
40
*/
41
public function getUrlAttribute(): string
42
{
0 commit comments