Skip to content

Commit a1682d3

Browse files
Update AuthCode.php (#1644)
1 parent 95a2258 commit a1682d3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/AuthCode.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,7 @@ class AuthCode extends Model
3434
*/
3535
protected $casts = [
3636
'revoked' => 'bool',
37-
];
38-
39-
/**
40-
* The attributes that should be mutated to dates.
41-
*
42-
* @var array
43-
*/
44-
protected $dates = [
45-
'expires_at',
37+
'expires_at' => 'datetime',
4638
];
4739

4840
/**

0 commit comments

Comments
 (0)