Skip to content

Commit

Permalink
Use a scoped singleton to support Laravel Octane (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjurstrom authored May 3, 2024
1 parent 686d0cb commit 76d0f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SEOServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SEOServiceProvider extends ServiceProvider
{
public function register(): void
{
$this->app->singleton('seo', SEOManager::class);
$this->app->scoped('seo', SEOManager::class);
}

public function boot(): void
Expand Down

0 comments on commit 76d0f9e

Please sign in to comment.