Skip to content

Commit

Permalink
Laravel 10 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin authored Jun 8, 2023
1 parent 5c0152d commit 4e122fe
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions src/App/Models/TwoStepAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,6 @@ class TwoStepAuth extends Model
'id',
];

/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = [
'created_at',
'updated_at',
'requestDate',
'authDate',
];

/**
* Fillable fields for a Profile.
*
Expand All @@ -63,10 +51,12 @@ class TwoStepAuth extends Model
];

protected $casts = [
'userId' => 'integer',
'authCode' => 'string',
'authCount' => 'integer',
'authStatus' => 'boolean',
'userId' => 'integer',
'authCode' => 'string',
'authCount' => 'integer',
'authStatus' => 'boolean',
'requestDate' => 'datetime',
'authDate' => 'datetime',
];

/**
Expand Down

0 comments on commit 4e122fe

Please sign in to comment.