Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
6a0a2eea
Commit
6a0a2eea
authored
Jul 10, 2013
by
Bertrand Gauthier
Browse files
Correction signature setOptions selon super classe.
parent
51ce8801
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Authentication/Adapter/Db.php
View file @
6a0a2eea
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment