Skip to content

Commit

Permalink
Fix Octane Container injection (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
hisorange committed Dec 7, 2023
2 parents 82e850c + 73e0e83 commit 419f001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function ($fn) {
*/
public function register(): void
{
$this->app->singleton('browser-detect', function ($app) {
$this->app->bind('browser-detect', function ($app) {
return new Parser($app->make('cache'), $app->make('request'), $app->make('config')['browser-detect'] ?? []);
});
}
Expand Down

0 comments on commit 419f001

Please sign in to comment.