Skip to content

Commit

Permalink
Fixed deprecated datetime casts
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeStatik committed Apr 20, 2023
1 parent d160c85 commit 989db26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Models/SurveyResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ class SurveyResponse extends Model implements SurveyResponseContract

protected $guarded = [];

protected $dates = [
'survey_start_date',
'survey_last_updated',
protected $casts = [
'survey_start_date' => 'datetime',
'survey_last_updated' => 'datetime',
];

public function getTable(): string
Expand Down

0 comments on commit 989db26

Please sign in to comment.