chore: upgrade to laravel 10 (monicahq/chandler#432)

This commit is contained in:
Mazarin
2023-02-27 05:15:46 -05:00
committed by GitHub
parent bc898e1efb
commit 227cdffc26
387 changed files with 801 additions and 3645 deletions
+2 -16
View File
@@ -44,22 +44,12 @@ class UserNotificationChannel extends Model
*/
protected $casts = [
'active' => 'boolean',
];
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = [
'verified_at',
'preferred_time',
'verified_at' => 'datetime',
'preferred_time' => 'datetime',
];
/**
* Get the user associated with the user notification channel.
*
* @return BelongsTo
*/
public function user(): BelongsTo
{
@@ -69,8 +59,6 @@ class UserNotificationChannel extends Model
/**
* Get the user notification sent records associated with the user
* notification channel.
*
* @return HasMany
*/
public function userNotificationSent(): HasMany
{
@@ -79,8 +67,6 @@ class UserNotificationChannel extends Model
/**
* Get the contact reminder records associated with the user.
*
* @return BelongsToMany
*/
public function contactReminders(): BelongsToMany
{