Laravel 5.3 loading method.

This commit is contained in:
Marcus Olsson 2016-11-07 17:18:00 +01:00
parent 8929f2da8e
commit 16c8d9638f
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ class ZxcvbnServiceProvider extends ServiceProvider
*/ */
public function register() public function register()
{ {
$this->app['zxcvbn'] = $this->app->share(function ($app) { $this->app->bind('zxcvbn', function ($app) {
return new ZxcvbnPhp($this->app['config']); return new ZxcvbnPhp();
}); });
} }
} }