summaryrefslogtreecommitdiff
path: root/app/Models/File.php
diff options
context:
space:
mode:
authorgrothedev <grothedev@gmail.com>2026-01-09 20:02:23 -0500
committergrothedev <grothedev@gmail.com>2026-01-09 20:02:23 -0500
commita8446acd5a32f43534260cbe16225cfa975e18f2 (patch)
treed0a42bd9cb319758db803878523187978458c157 /app/Models/File.php
parent57445d4ccbfe1cb190437c8f6b609fc83723b015 (diff)
stuff from claude. good point to commit.HEADmain
Diffstat (limited to 'app/Models/File.php')
-rw-r--r--app/Models/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/File.php b/app/Models/File.php
index a5a14e3..887333a 100644
--- a/app/Models/File.php
+++ b/app/Models/File.php
@@ -90,7 +90,7 @@ class File extends Model
$days = $days ?? config('fileupload.expiration_days');
if (config('fileupload.expiration_enabled')) {
- $this->expires_at = now()->addDays($days);
+ $this->expires_at = now()->addDays((int) $days);
$this->save();
}
}