Skip to content

Commit cc1cb87

Browse files
committed
fix: FreshCommand constructor invoked with 1 parameter, 0 required
1 parent f009309 commit cc1cb87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NativeServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function packageRegistered()
4646
{
4747
$this->mergeConfigFrom($this->package->basePath('/../config/nativephp-internal.php'), 'nativephp-internal');
4848

49-
$this->app->singleton(FreshCommand::class, function ($app) {
50-
return new FreshCommand($app['migrator']);
49+
$this->app->singleton(FreshCommand::class, function () {
50+
return new FreshCommand;
5151
});
5252

5353
$this->app->singleton(MigrateCommand::class, function ($app) {

0 commit comments

Comments
 (0)