Commit 6a0a2eea authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction signature setOptions selon super classe.

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