mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 16:40:10 +00:00
Fix code quality with rector [skip ci]
This commit is contained in:
@@ -86,7 +86,7 @@ class EditController extends Controller
|
||||
*
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function edit(Request $request, Recurrence $recurrence)
|
||||
public function edit(Request $request, Recurrence $recurrence): Factory|\Illuminate\Contracts\View\View
|
||||
{
|
||||
// TODO this should be in the repository.
|
||||
$count = $recurrence->recurrenceTransactions()->count();
|
||||
@@ -160,17 +160,7 @@ class EditController extends Controller
|
||||
|
||||
return view(
|
||||
'recurring.edit',
|
||||
compact(
|
||||
'recurrence',
|
||||
'array',
|
||||
'bills',
|
||||
'weekendResponses',
|
||||
'budgets',
|
||||
'preFilled',
|
||||
'currentRepType',
|
||||
'repetitionEnd',
|
||||
'repetitionEnds'
|
||||
)
|
||||
['recurrence' => $recurrence, 'array' => $array, 'bills' => $bills, 'weekendResponses' => $weekendResponses, 'budgets' => $budgets, 'preFilled' => $preFilled, 'currentRepType' => $currentRepType, 'repetitionEnd' => $repetitionEnd, 'repetitionEnds' => $repetitionEnds]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user