Skip to content

Commit

Permalink
Minor clean-up in CalendarController
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Vervuurt committed Feb 26, 2024
1 parent 47d0ee4 commit efcafb0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Http/Controllers/CalendarController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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)
Expand Down

0 comments on commit efcafb0

Please sign in to comment.