diff --git a/src/Console/GenerateProxiesCommand.php b/src/Console/GenerateProxiesCommand.php index ef5df62..2e3cbeb 100644 --- a/src/Console/GenerateProxiesCommand.php +++ b/src/Console/GenerateProxiesCommand.php @@ -16,7 +16,7 @@ public function fire() { $this->error('No metadata found to generate any entities.'); exit; } - $directory = $this->laravel['config']['doctrine::doctrine.proxy.directory']; + $directory = $this->laravel['config']['doctrine.proxy.directory']; if ( ! $directory) { $this->error('The proxy directory has not been set.'); exit; diff --git a/src/DoctrineUserProvider.php b/src/DoctrineUserProvider.php index 71b569d..2ef54cb 100644 --- a/src/DoctrineUserProvider.php +++ b/src/DoctrineUserProvider.php @@ -2,11 +2,11 @@ use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityRepository; -use Illuminate\Auth\UserProviderInterface; +use Illuminate\Contracts\Auth\UserProvider; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Contracts\Hashing\Hasher; -class DoctrineUserProvider implements UserProviderInterface +class DoctrineUserProvider implements UserProvider { /** * @var Hasher