Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with Laravel 5.4 #6

Merged
merged 1 commit into from
Jan 28, 2017
Merged

Update to work with Laravel 5.4 #6

merged 1 commit into from
Jan 28, 2017

Conversation

Unyxos
Copy link

@Unyxos Unyxos commented Jan 27, 2017

The Share() function doesn't work anymore in Laravel 5.4, changed the register() function to make the php artisan vendor:publish work.

It change
$this->app['oauth'] = $this->app->share(function ($app)

to
$this->app->singleton(OAuth::class, function ($app)

The Share() function doesn't work anymore in Laravel 5.4, changed the register() function to make the php artisan vendor:publish work.
@oriceon oriceon merged commit 3e00136 into oriceon:master Jan 28, 2017
@oriceon
Copy link
Owner

oriceon commented Jan 28, 2017

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants