mapped[$this->index][$this->value])) { $budget = Auth::user()->budgets()->find($this->mapped[$this->index][$this->value]); } else { $budget = Auth::user()->budgets()->find($this->value); } return $budget; } }