Skip to content

Commit

Permalink
Use singleton instead of bindShared
Browse files Browse the repository at this point in the history
  • Loading branch information
sunspikes committed Nov 26, 2015
1 parent e64b829 commit fa2a654
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 fa2a654

Please sign in to comment.