Commit 93db7478 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

COrrection signature méthode.

parent ab9310fb
...@@ -7,7 +7,6 @@ use UnicaenAuth\Options\ModuleOptions; ...@@ -7,7 +7,6 @@ use UnicaenAuth\Options\ModuleOptions;
use Zend\ServiceManager\ServiceManager; use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceManagerAwareInterface; use Zend\ServiceManager\ServiceManagerAwareInterface;
use ZfcUser\Authentication\Adapter\AdapterChainEvent as AuthEvent; use ZfcUser\Authentication\Adapter\AdapterChainEvent as AuthEvent;
use ZfcUser\Options\AuthenticationOptionsInterface;
/** /**
* Adpater d'authentification à partir de la base de données. * Adpater d'authentification à partir de la base de données.
...@@ -49,7 +48,7 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceManagerAwa ...@@ -49,7 +48,7 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceManagerAwa
* @param ModuleOptions $options * @param ModuleOptions $options
* @return self * @return self
*/ */
public function setOptions(AuthenticationOptionsInterface $options) public function setOptions(ModuleOptions $options)
{ {
$this->options = $options; $this->options = $options;
return $this; return $this;
......
Supports Markdown
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