@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * setMessages |
71 | 71 | * |
72 | - * @param array $messages |
|
72 | + * @param string[] $messages |
|
73 | 73 | * @return AdapterChainEvent |
74 | 74 | */ |
75 | 75 | public function setMessages($messages = array()) |
@@ -2,9 +2,6 @@ |
||
2 | 2 | namespace LmcUser\Authentication\Adapter; |
3 | 3 | |
4 | 4 | use Interop\Container\ContainerInterface; |
5 | -use Interop\Container\Exception\ContainerException; |
|
6 | -use Laminas\ServiceManager\Exception\ServiceNotCreatedException; |
|
7 | -use Laminas\ServiceManager\Exception\ServiceNotFoundException; |
|
8 | 5 | use Laminas\ServiceManager\Factory\FactoryInterface; |
9 | 6 | use Laminas\ServiceManager\ServiceLocatorInterface; |
10 | 7 | use LmcUser\Authentication\Adapter\AdapterChain; |
@@ -46,7 +46,7 @@ |
||
46 | 46 | |
47 | 47 | /** |
48 | 48 | * @param AdapterChainEvent $e |
49 | - * @return bool |
|
49 | + * @return null|false |
|
50 | 50 | */ |
51 | 51 | public function authenticate(AdapterChainEvent $e) |
52 | 52 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Interop\Container\ContainerInterface; |
6 | 6 | use Laminas\Authentication\Result as AuthenticationResult; |
7 | -use Laminas\EventManager\EventInterface; |
|
8 | 7 | use Laminas\ServiceManager\ServiceManager; |
9 | 8 | use Laminas\Crypt\Password\Bcrypt; |
10 | 9 | use Laminas\Session\Container as SessionContainer; |
@@ -169,7 +169,6 @@ |
||
169 | 169 | /** |
170 | 170 | * Set service manager instance |
171 | 171 | * |
172 | - * @param ContainerInterface $locator |
|
173 | 172 | * @return void |
174 | 173 | */ |
175 | 174 | public function setServiceManager(ContainerInterface $serviceManager) |
@@ -434,7 +434,7 @@ discard block |
||
434 | 434 | /** |
435 | 435 | * Get changeEmailForm. |
436 | 436 | * |
437 | - * @return ChangeEmailForm |
|
437 | + * @return FormInterface |
|
438 | 438 | */ |
439 | 439 | public function getChangeEmailForm() |
440 | 440 | { |
@@ -457,7 +457,7 @@ discard block |
||
457 | 457 | } |
458 | 458 | |
459 | 459 | /** |
460 | - * @param $serviceLocator |
|
460 | + * @param \Interop\Container\ContainerInterface $serviceLocator |
|
461 | 461 | */ |
462 | 462 | public function setServiceLocator($serviceLocator) |
463 | 463 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * Set the event manager instance used by this context |
18 | 18 | * |
19 | 19 | * @param EventManagerInterface $events |
20 | - * @return mixed |
|
20 | + * @return EventProvider |
|
21 | 21 | */ |
22 | 22 | public function setEventManager(EventManagerInterface $events) |
23 | 23 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Laminas\EventManager\EventManagerAwareInterface; |
6 | 6 | use Laminas\EventManager\EventManagerInterface; |
7 | 7 | use Laminas\EventManager\EventManager; |
8 | -use Laminas\EventManager\SharedEventManager; |
|
9 | 8 | |
10 | 9 | abstract class EventProvider implements EventManagerAwareInterface |
11 | 10 | { |
@@ -9,13 +9,14 @@ |
||
9 | 9 | * set login form timeout in seconds |
10 | 10 | * |
11 | 11 | * @param int $loginFormTimeout |
12 | + * @return ModuleOptions |
|
12 | 13 | */ |
13 | 14 | public function setLoginFormTimeout($loginFormTimeout); |
14 | 15 | |
15 | 16 | /** |
16 | 17 | * set login form timeout in seconds |
17 | 18 | * |
18 | - * @param int $loginFormTimeout |
|
19 | + * @return integer |
|
19 | 20 | */ |
20 | 21 | public function getLoginFormTimeout(); |
21 | 22 |
@@ -366,7 +366,7 @@ |
||
366 | 366 | /** |
367 | 367 | * set auth adapters |
368 | 368 | * |
369 | - * @param array $authAdapterss |
|
369 | + * @param array $authAdapters |
|
370 | 370 | * @return ModuleOptions |
371 | 371 | */ |
372 | 372 | public function setAuthAdapters($authAdapters) |
@@ -7,7 +7,6 @@ |
||
7 | 7 | /** |
8 | 8 | * set password cost |
9 | 9 | * |
10 | - * @param int $passwordCost |
|
11 | 10 | * @return ModuleOptions |
12 | 11 | */ |
13 | 12 | public function setPasswordCost($cost); |