From 18806e7948436bdccda01f8fd346bce3f2833206 Mon Sep 17 00:00:00 2001 From: Doug Niccum Date: Tue, 18 Oct 2022 12:49:22 -0500 Subject: [PATCH 1/2] Adds laravel nova repository to the composer configuration --- composer.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6c61b9c..857eb83 100644 --- a/composer.json +++ b/composer.json @@ -52,5 +52,11 @@ "sort-packages": true }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "repositories": [ + { + "type": "composer", + "url": "https://nova.laravel.com" + } + ] } From 1ef3c335d76d80e99a9e4953dcf6c517d3c1e403 Mon Sep 17 00:00:00 2001 From: Doug Niccum Date: Tue, 18 Oct 2022 12:54:50 -0500 Subject: [PATCH 2/2] Fixes an error where an abstract method was not extended. --- src/NovaWebhooks.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/NovaWebhooks.php b/src/NovaWebhooks.php index 1e81604..523125e 100644 --- a/src/NovaWebhooks.php +++ b/src/NovaWebhooks.php @@ -2,6 +2,7 @@ namespace Dniccum\NovaWebhooks; +use Illuminate\Http\Request; use Laravel\Nova\Nova; use Laravel\Nova\Tool; @@ -19,12 +20,13 @@ public function boot() } /** - * Build the view that renders the navigation links for the tool. + * Build the menu that renders the navigation links for the tool. * - * @return \Illuminate\View\View + * @param \Illuminate\Http\Request $request + * @return mixed */ - public function renderNavigation() + public function menu(Request $request) { -// return view('nova-webhooks::navigation'); + return null; } }