mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-04 11:48:05 +00:00
Fix some edge cases in recurrences.
This commit is contained in:
@@ -76,6 +76,7 @@ use Illuminate\Support\Collection;
|
||||
* @mixin Eloquent
|
||||
* @property int|null $transaction_type_id
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|RecurrenceTransaction whereTransactionTypeId($value)
|
||||
* @property-read \FireflyIII\Models\TransactionType|null $transactionType
|
||||
*/
|
||||
class RecurrenceTransaction extends Model
|
||||
{
|
||||
@@ -154,4 +155,12 @@ class RecurrenceTransaction extends Model
|
||||
{
|
||||
return $this->belongsTo(TransactionCurrency::class);
|
||||
}
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* @return BelongsTo
|
||||
*/
|
||||
public function transactionType(): BelongsTo
|
||||
{
|
||||
return $this->belongsTo(TransactionType::class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user