simplePaginate(5); } } catch (Throwable) { $tasks = new LengthAwarePaginator([], 0, 5); } return view('maintenance', [ 'tasks' => $tasks, ]); } }