Change our $casts array to a casts() function for our updated laravel, fix incoming TICs to not export to our system
This commit is contained in:
@@ -6,7 +6,10 @@ use Illuminate\Database\Eloquent\Relations\Pivot;
|
||||
|
||||
class ViaPivot extends Pivot
|
||||
{
|
||||
protected $casts = [
|
||||
'datetime' => 'datetime',
|
||||
];
|
||||
}
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'datetime' => 'datetime',
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user