Commit 45b262fd authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Correction de Strict standards: Declaration of...

Correction de Strict standards: Declaration of UnicaenAuth\Authentication\Adapter\Db::setOptions() should be compatible with ZfcUser\Authentication\Adapter\Db::setOptions(ZfcUser\Options\AuthenticationOptionsInterface $options)
parent fe934407
......@@ -8,6 +8,7 @@ use Zend\Authentication\Result as AuthenticationResult;
use Zend\Crypt\Password\Bcrypt;
use Zend\ServiceManager\ServiceManager;
use Zend\ServiceManager\ServiceManagerAwareInterface;
use \ZfcUser\Options\AuthenticationOptionsInterface;
use ZfcUser\Authentication\Adapter\AdapterChainEvent as AuthEvent;
use ZfcUser\Entity\UserInterface;
......@@ -111,7 +112,7 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceManagerAwa
/**
* @param ModuleOptions $options
*/
public function setOptions(ModuleOptions $options)
public function setOptions(AuthenticationOptionsInterface $options)
{
$this->options = $options;
}
......
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