Fix code quality with rector [skip ci]

This commit is contained in:
James Cole
2025-11-09 09:07:14 +01:00
parent 38691d6fdf
commit d2610be790
262 changed files with 873 additions and 1186 deletions

View File

@@ -77,7 +77,7 @@ class ShowController extends Controller
*
* @throws FireflyException
*/
public function show(Recurrence $recurrence)
public function show(Recurrence $recurrence): Factory|\Illuminate\Contracts\View\View
{
$repos = app(AttachmentRepositoryInterface::class);
@@ -137,6 +137,6 @@ class ShowController extends Controller
$subTitle = (string) trans('firefly.overview_for_recurrence', ['title' => $recurrence->title]);
return view('recurring.show', compact('recurrence', 'subTitle', 'array', 'groups', 'today'));
return view('recurring.show', ['recurrence' => $recurrence, 'subTitle' => $subTitle, 'array' => $array, 'groups' => $groups, 'today' => $today]);
}
}