From c4a41922bc24d4773dccff53d32c9bb74f508691 Mon Sep 17 00:00:00 2001 From: Shift Date: Mon, 24 Oct 2022 17:28:55 +0000 Subject: [PATCH] Convert deprecated `$dates` property to `$casts` --- app/Models/AuthLog.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Models/AuthLog.php b/app/Models/AuthLog.php index 100191a295..856473f000 100644 --- a/app/Models/AuthLog.php +++ b/app/Models/AuthLog.php @@ -31,5 +31,7 @@ class AuthLog extends Model { public $timestamps = false; protected $table = 'authlog'; - protected $dates = ['datetime']; + protected $casts = [ + 'datetime' => 'datetime', + ]; }