Skip to content

Commit

Permalink
Merge pull request #122 from daikazu/fix-l10-compatibility
Browse files Browse the repository at this point in the history
fix for deprecated Model "Dates" Property
  • Loading branch information
freekmurze committed Feb 23, 2023
2 parents cd118e3 + b446dfc commit 298b9c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Models/Check.php
Expand Up @@ -30,10 +30,9 @@ class Check extends Model
public $casts = [
'custom_properties' => 'array',
'last_run_output' => 'array',
];

public $dates = [
'last_ran_at', 'next_check_at', 'started_throttling_failing_notifications_at',
'last_ran_at' => 'datetime',
'next_check_at' => 'datetime',
'started_throttling_failing_notifications_at' => 'datetime',
];

public function host(): BelongsTo
Expand Down

0 comments on commit 298b9c5

Please sign in to comment.