mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
More cleanup and php doc stuff.
This commit is contained in:
@@ -30,11 +30,17 @@ class Budget extends Component
|
||||
];
|
||||
protected $isSubclass = true;
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasMany
|
||||
*/
|
||||
public function limits()
|
||||
{
|
||||
return $this->hasMany('Limit', 'component_id');
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
|
||||
*/
|
||||
public function transactionjournals()
|
||||
{
|
||||
return $this->belongsToMany('TransactionJournal', 'component_transaction_journal', 'component_id');
|
||||
|
Reference in New Issue
Block a user