mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
Autoformat lol
This commit is contained in:
@@ -37,7 +37,7 @@ class RecurrenceTransactionMeta extends Model
|
||||
|
||||
protected $fillable = ['rt_id', 'name', 'value'];
|
||||
|
||||
protected $table = 'rt_meta';
|
||||
protected $table = 'rt_meta';
|
||||
|
||||
public function recurrenceTransaction(): BelongsTo
|
||||
{
|
||||
@@ -46,19 +46,11 @@ class RecurrenceTransactionMeta extends Model
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'created_at' => 'datetime',
|
||||
'updated_at' => 'datetime',
|
||||
'deleted_at' => 'datetime',
|
||||
'name' => 'string',
|
||||
'value' => 'string',
|
||||
];
|
||||
return ['created_at' => 'datetime', 'updated_at' => 'datetime', 'deleted_at' => 'datetime', 'name' => 'string', 'value' => 'string'];
|
||||
}
|
||||
|
||||
protected function rtId(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: static fn ($value): int => (int)$value,
|
||||
);
|
||||
return Attribute::make(get: static fn($value): int => (int) $value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user