Skip to content

Commit

Permalink
Merge pull request #40 from tavitar/hotfix/singleton-sp-for-5.4
Browse files Browse the repository at this point in the history
Switch to using singleton function in service provider
  • Loading branch information
XavRsl authored Jan 31, 2017
2 parents a24cfd1 + 94af27f commit 2f9dc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xavrsl/Cas/CasServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function boot()
*/
public function register()
{
$this->app['cas'] = $this->app->share(function()
$this->app->singleton('cas', function()
{
$config = $this->app['config']->get('cas');
return new CasManager($config);
Expand Down

0 comments on commit 2f9dc56

Please sign in to comment.