mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-10 22:59:29 +01:00
make phpstan happy
This commit is contained in:
parent
4d33294951
commit
96f0aac4f8
@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Facade;
|
||||
/**
|
||||
* @method static void loadPlugins()
|
||||
* @method static void loadPanelPlugins(Panel $panel)
|
||||
* @method static void manageComposerPackages(?array $oldPackages = null)
|
||||
* @method static void manageComposerPackages(null|array<string, string> $newPackages = [], null|array<string, string> $oldPackages = null)
|
||||
* @method static void runPluginMigrations(Plugin $plugin)
|
||||
* @method static void rollbackPluginMigrations(Plugin $plugin)
|
||||
* @method static void installPlugin(Plugin $plugin, bool $enable = true)
|
||||
|
||||
@ -150,7 +150,10 @@ class PluginService
|
||||
}
|
||||
}
|
||||
|
||||
/** @param null|string[] $oldPackages */
|
||||
/**
|
||||
* @param null|array<string, string> $newPackages
|
||||
* @param null|array<string, string> $oldPackages
|
||||
*/
|
||||
public function manageComposerPackages(?array $newPackages = [], ?array $oldPackages = null): void
|
||||
{
|
||||
$newPackages ??= [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user