From efcafb0bd3c5e5249ddb5b68d2e255713abe29a2 Mon Sep 17 00:00:00 2001 From: Willem Vervuurt Date: Mon, 26 Feb 2024 20:38:58 +0100 Subject: [PATCH] Minor clean-up in CalendarController --- src/Http/Controllers/CalendarController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Http/Controllers/CalendarController.php b/src/Http/Controllers/CalendarController.php index 195deb2..99c6fec 100644 --- a/src/Http/Controllers/CalendarController.php +++ b/src/Http/Controllers/CalendarController.php @@ -21,8 +21,6 @@ use Laravel\Nova\Http\Requests\NovaRequest; use Wdelfuego\NovaCalendar\View\AbstractView as View; -// use Wdelfuego\NovaCalendar\Contracts\CalendarDataProviderInterface; -// use Wdelfuego\NovaCalendar\Contracts\ViewInterface; class CalendarController extends BaseController { @@ -31,7 +29,7 @@ class CalendarController extends BaseController private $dataProviders = []; - public function __construct(NovaRequest $request) + public function __construct() { // Load data providers, keyed by uri foreach(config('nova-calendar', []) as $calendarKey => $calendarConfig)