mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Move from getDates to array dates.
This commit is contained in:
@@ -23,7 +23,7 @@ class Preference extends Model
|
||||
|
||||
protected $fillable = ['user_id', 'data', 'name'];
|
||||
protected $hidden = ['data_encrypted', 'name_encrypted'];
|
||||
|
||||
protected $dates = ['created_at', 'updated_at'];
|
||||
/**
|
||||
* @param $value
|
||||
*
|
||||
@@ -39,14 +39,6 @@ class Preference extends Model
|
||||
return json_decode($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getDates()
|
||||
{
|
||||
return ['created_at', 'updated_at'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $value
|
||||
*/
|
||||
|
Reference in New Issue
Block a user