Various code cleanup.

This commit is contained in:
James Cole
2021-04-05 22:12:57 +02:00
parent d8ca39ffea
commit d32446b171
9 changed files with 12 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ class SetBudget implements ActionInterface
*/
public function actOnArray(array $journal): bool
{
$user = User::find($journal['user_id']);
$user = User::find($journal['user_id']);
$search = $this->action->action_value;
$budget = $user->budgets()->where('name', $search)->first();