chore: upgrade to laravel 10 (monicahq/chandler#432)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user