Skip to content

Commit

Permalink
Merge pull request #90 from sunspikes/patch-1
Browse files Browse the repository at this point in the history
Use singleton instead of bindShared
  • Loading branch information
Florian Eckerstorfer committed Nov 26, 2015
2 parents e64b829 + fa2a654 commit 4e06609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridge/Laravel/SlugifyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SlugifyServiceProvider extends LaravelServiceProvider
*/
public function register()
{
$this->app->bindShared('slugify', function () {
$this->app->singleton('slugify', function () {
return new Slugify();
});
}
Expand Down

0 comments on commit 4e06609

Please sign in to comment.