Skip to content
This repository was archived by the owner on Feb 26, 2018. It is now read-only.

Commit a253226

Browse files
committed
Use 'singleton' instead of 'share'
1 parent 7a5dabb commit a253226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/EloquentOAuthServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function registerIdentityStore()
5454

5555
protected function registerOAuthManager()
5656
{
57-
$this->app['adamwathan.oauth'] = $this->app->share(function ($app) {
57+
$this->app->singleton('adamwathan.oauth', function ($app) {
5858
$providerRegistry = new ProviderRegistry;
5959
$session = new Session($app['session']);
6060
$request = new Request($app['request']->all());

0 commit comments

Comments
 (0)