From a1682d39b7730d318d1a6e3139836e06bda692d4 Mon Sep 17 00:00:00 2001 From: Sergey Pashkevich Date: Fri, 17 Mar 2023 16:39:26 +0300 Subject: [PATCH] Update AuthCode.php (#1644) --- src/AuthCode.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/AuthCode.php b/src/AuthCode.php index 09a79c8..5c045ba 100644 --- a/src/AuthCode.php +++ b/src/AuthCode.php @@ -34,15 +34,7 @@ class AuthCode extends Model */ protected $casts = [ 'revoked' => 'bool', - ]; - - /** - * The attributes that should be mutated to dates. - * - * @var array - */ - protected $dates = [ - 'expires_at', + 'expires_at' => 'datetime', ]; /**