Laravel 5.3 loading method.
This commit is contained in:
parent
8929f2da8e
commit
16c8d9638f
|
|
@ -74,8 +74,8 @@ class ZxcvbnServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function register()
|
||||
{
|
||||
$this->app['zxcvbn'] = $this->app->share(function ($app) {
|
||||
return new ZxcvbnPhp($this->app['config']);
|
||||
$this->app->bind('zxcvbn', function ($app) {
|
||||
return new ZxcvbnPhp();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue