- Auth::provider('ldap', function($app, array $config) {
- return new LdapUserProvider($config['model'], $app['BookStack\Services\LdapService']);
+ Auth::provider('ldap', function ($app, array $config) {
+ return new LdapUserProvider($config['model'], $app[LdapService::class]);