diff --git a/src/Msurguy/Honeypot/HoneypotServiceProvider.php b/src/Msurguy/Honeypot/HoneypotServiceProvider.php index bd345a2..1424243 100644 --- a/src/Msurguy/Honeypot/HoneypotServiceProvider.php +++ b/src/Msurguy/Honeypot/HoneypotServiceProvider.php @@ -20,7 +20,7 @@ class HoneypotServiceProvider extends ServiceProvider { */ public function register() { - $this->app['honeypot'] = $this->app->share(function($app) + $this->app->singleton('honeypot', function($app) { return new Honeypot; }); @@ -67,7 +67,7 @@ public function provides() /** * Determine if laravel starts with any of the given version strings - * + * * @param string|array $startsWith * @return boolean */