mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
🤖 Auto commit for release 'develop' on 2026-01-23
This commit is contained in:
@@ -47,10 +47,10 @@ class RecurrenceTransaction extends Model
|
||||
'destination_id',
|
||||
'amount',
|
||||
'foreign_amount',
|
||||
'description'
|
||||
'description',
|
||||
];
|
||||
|
||||
protected $table = 'recurrences_transactions';
|
||||
protected $table = 'recurrences_transactions';
|
||||
|
||||
public function destinationAccount(): BelongsTo
|
||||
{
|
||||
@@ -89,7 +89,7 @@ class RecurrenceTransaction extends Model
|
||||
|
||||
protected function amount(): Attribute
|
||||
{
|
||||
return Attribute::make(get: static fn($value): string => (string) $value);
|
||||
return Attribute::make(get: static fn ($value): string => (string) $value);
|
||||
}
|
||||
|
||||
protected function casts(): array
|
||||
@@ -100,37 +100,37 @@ class RecurrenceTransaction extends Model
|
||||
'deleted_at' => 'datetime',
|
||||
'amount' => 'string',
|
||||
'foreign_amount' => 'string',
|
||||
'description' => 'string'
|
||||
'description' => 'string',
|
||||
];
|
||||
}
|
||||
|
||||
protected function destinationId(): Attribute
|
||||
{
|
||||
return Attribute::make(get: static fn($value): int => (int) $value);
|
||||
return Attribute::make(get: static fn ($value): int => (int) $value);
|
||||
}
|
||||
|
||||
protected function foreignAmount(): Attribute
|
||||
{
|
||||
return Attribute::make(get: static fn($value): string => (string) $value);
|
||||
return Attribute::make(get: static fn ($value): string => (string) $value);
|
||||
}
|
||||
|
||||
protected function recurrenceId(): Attribute
|
||||
{
|
||||
return Attribute::make(get: static fn($value): int => (int) $value);
|
||||
return Attribute::make(get: static fn ($value): int => (int) $value);
|
||||
}
|
||||
|
||||
protected function sourceId(): Attribute
|
||||
{
|
||||
return Attribute::make(get: static fn($value): int => (int) $value);
|
||||
return Attribute::make(get: static fn ($value): int => (int) $value);
|
||||
}
|
||||
|
||||
protected function transactionCurrencyId(): Attribute
|
||||
{
|
||||
return Attribute::make(get: static fn($value): int => (int) $value);
|
||||
return Attribute::make(get: static fn ($value): int => (int) $value);
|
||||
}
|
||||
|
||||
protected function userId(): 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