mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup
This commit is contained in:
@@ -47,13 +47,14 @@ class SetBudget implements ActionInterface
|
||||
|
||||
/**
|
||||
* Set budget.
|
||||
*
|
||||
* @param TransactionJournal $journal
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function act(TransactionJournal $journal): bool
|
||||
{
|
||||
$search = $this->action->action_value;
|
||||
$search = $this->action->action_value;
|
||||
|
||||
$budget = $journal->user->budgets()->where('name', $search)->first();
|
||||
if (null === $budget) {
|
||||
|
Reference in New Issue
Block a user