From 3751024d313dd77e100eb557c573a5093baccbba Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Thu, 7 Mar 2024 19:48:43 +0800 Subject: [PATCH] wip --- src/LaravelServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LaravelServiceProvider.php b/src/LaravelServiceProvider.php index 4be6ea0..a41d879 100644 --- a/src/LaravelServiceProvider.php +++ b/src/LaravelServiceProvider.php @@ -16,7 +16,7 @@ class LaravelServiceProvider extends ServiceProvider */ public function boot() { - Nova::serving(function (ServingNova $event) { + Nova::serving(static function (ServingNova $event) { array_unshift( Nova::$scripts, Script::remote(mix('tool.js', 'vendor/nova-kit/nova-packages-tool')) );