Skip to content

Commit

Permalink
fix: remove arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
Vito Famiglietti committed Oct 25, 2021
1 parent be56693 commit 627ca7b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ public function register()
// Register the main class to use with the facade
$this->app->bind(
BaseFactory::class,
fn ($app) => new Factory($app->make(Dispatcher::class))
function ($app) {
return new Factory($app->make(Dispatcher::class));
}
);
}
}

0 comments on commit 627ca7b

Please sign in to comment.