Fix a bunch of phpstan issues.

This commit is contained in:
James Cole
2026-03-09 20:38:58 +01:00
parent 91b7ee06d8
commit 28ff0a8423
48 changed files with 79 additions and 85 deletions
@@ -78,7 +78,7 @@ final class DeleteController extends Controller
/**
* Destroy the recurring transaction.
*/
public function destroy(RecurringRepositoryInterface $repository, Request $request, Recurrence $recurrence): Redirector|RedirectResponse
public function destroy(RecurringRepositoryInterface $repository, Request $request, Recurrence $recurrence): RedirectResponse
{
$repository->destroy($recurrence);
$request->session()->flash('success', (string) trans('firefly.recurrence_deleted', ['title' => $recurrence->title]));