mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Fix $path from unused suggestions
This commit is contained in:
+2
-2
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user