mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Various code cleanup.
This commit is contained in:
@@ -37,7 +37,11 @@ use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
class RecurrenceTransactionMeta extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
/** @var array */
|
||||
/**
|
||||
* The attributes that should be casted to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts
|
||||
= [
|
||||
'created_at' => 'datetime',
|
||||
@@ -46,8 +50,9 @@ class RecurrenceTransactionMeta extends Model
|
||||
'name' => 'string',
|
||||
'value' => 'string',
|
||||
];
|
||||
/** @var array Fields that can be filled */
|
||||
protected $fillable = ['rt_id', 'name', 'value'];
|
||||
/** @var string */
|
||||
/** @var string The table to store the data in */
|
||||
protected $table = 'rt_meta';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user