From 95c619aa2d5d648809dbdaa8b028771e75183849 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Wed, 10 Mar 2021 10:44:04 +0000 Subject: [PATCH] Fix $path from unused suggestions --- src/Filament.php | 4 ++-- src/FilamentManager.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Filament.php b/src/Filament.php index 231270ad98..5cdb624210 100644 --- a/src/Filament.php +++ b/src/Filament.php @@ -23,8 +23,8 @@ use Illuminate\Support\Facades\Facade; * @method static void registerResource(string $resource) * @method static void registerRole(string $role) * @method static void registerWidget(string $widget) - * @method static void registerScript(string $name, string $script) - * @method static void registerStyle(string $name, string $style) + * @method static void registerScript(string $name, string $path) + * @method static void registerStyle(string $name, string $path) * @method static void serving($callback) * @method static Resource userResource() * @method static string|null version() diff --git a/src/FilamentManager.php b/src/FilamentManager.php index dcc2c6ada5..dff4061d50 100644 --- a/src/FilamentManager.php +++ b/src/FilamentManager.php @@ -162,12 +162,12 @@ class FilamentManager public function registerScript($name, $path) { - $this->scripts[$name] = $script; + $this->scripts[$name] = $path; } public function registerStyle($name, $path) { - $this->styles[$name] = $style; + $this->styles[$name] = $path; } public function registerWidget($widget)