Skip to content

Commit 76d0f9e

Browse files
authored
Use a scoped singleton to support Laravel Octane (#36)
1 parent 686d0cb commit 76d0f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SEOServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class SEOServiceProvider extends ServiceProvider
1212
{
1313
public function register(): void
1414
{
15-
$this->app->singleton('seo', SEOManager::class);
15+
$this->app->scoped('seo', SEOManager::class);
1616
}
1717

1818
public function boot(): void

0 commit comments

Comments
 (0)