Skip to content

Commit 66537ea

Browse files
Remove unused command variable
1 parent a45f013 commit 66537ea

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/InertiaJsPreset.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@
1212

1313
class InertiaJsPreset extends Preset
1414
{
15-
private static $command;
16-
17-
public static function install($command)
15+
public static function install()
1816
{
19-
static::$command = $command;
20-
2117
static::updatePackages();
2218
static::updateBootstrapping();
2319
static::updateComposer(false);

src/InertiaJsPresetServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class InertiaJsPresetServiceProvider extends ServiceProvider
1010
public function boot()
1111
{
1212
PresetCommand::macro('inertiajs', function ($command) {
13-
InertiaJsPreset::install($command);
13+
InertiaJsPreset::install();
1414

1515
$command->info('Inertia.js scaffolding installed successfully.');
1616
$command->info('Please run "npm install && npm run dev" to compile your fresh scaffolding.');

0 commit comments

Comments
 (0)