1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 03:44:32 +02:00

Clean up Eloquent definitions

This commit is contained in:
Toby Zerner
2018-07-21 17:06:42 +09:30
parent 87bba2186e
commit 0fb81958cb
12 changed files with 43 additions and 66 deletions

View File

@@ -45,12 +45,9 @@ use Flarum\User\User;
class Notification extends AbstractModel
{
/**
* {@inheritdoc}
*/
protected $table = 'notifications';
/**
* {@inheritdoc}
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = ['created_at', 'read_at', 'deleted_at'];