Permalink
Browse files

Attribute casting for 'email_verified_at' on User model stub

  • Loading branch information...
Eddie Palmans
Eddie Palmans committed Feb 4, 2019
1 parent 098cf46 commit 2f37ba38fa8f7cf6a1cda070984459405e90a37a
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/User.php
@@ -29,11 +29,11 @@ class User extends Authenticatable
];
/**
* The attributes that should be mutated to dates.
* The attributes that should be cast to native types.
*
* @var array
*/
protected $dates = [
'email_verified_at',
protected $casts = [
'email_verified_at' => 'datetime',
];
}

0 comments on commit 2f37ba3

Please sign in to comment.