Skip to content

Commit

Permalink
Updated service provider to support Laravel 5.4 and above.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwhb authored Apr 27, 2018
1 parent 7d9d027 commit 408677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mattbrown/Laracurl/LaracurlServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function boot()
*/
public function register()
{
$this->app['laracurl'] = $this->app->share(function($app){
$this->app->singleton('laracurl', function($app){
return new Laracurl;
});
$this->app->booting(function(){
Expand Down

0 comments on commit 408677a

Please sign in to comment.