Commit d8d92d7c authored by Avris's avatar Avris

v4.0

parent b43b8237
......@@ -2,6 +2,7 @@
namespace Avris\Micrus\Doctrine;
use Avris\Micrus\Model\User\UserProviderInterface;
use Avris\Micrus\Model\User\UserInterface;
use Doctrine\ORM\EntityManagerInterface;
class DoctrineUserProvider implements UserProviderInterface
......@@ -18,7 +19,7 @@ class DoctrineUserProvider implements UserProviderInterface
$this->column = $column;
}
public function getUser($identifier)
public function getUser(string $identifier): ?UserInterface
{
$this->column = 'username'; // TODO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment