@@ -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); |
@@ -7,7 +7,6 @@ discard block |
||
| 7 | 7 | /** |
| 8 | 8 | * set enable display name |
| 9 | 9 | * |
| 10 | - * @param bool $flag |
|
| 11 | 10 | * @return ModuleOptions |
| 12 | 11 | */ |
| 13 | 12 | public function setEnableDisplayName($enableDisplayName); |
@@ -23,6 +22,7 @@ discard block |
||
| 23 | 22 | * set enable user registration |
| 24 | 23 | * |
| 25 | 24 | * @param bool $enableRegistration |
| 25 | + * @return ModuleOptions |
|
| 26 | 26 | */ |
| 27 | 27 | public function setEnableRegistration($enableRegistration); |
| 28 | 28 | |
@@ -36,7 +36,6 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * set enable username |
| 38 | 38 | * |
| 39 | - * @param bool $flag |
|
| 40 | 39 | * @return ModuleOptions |
| 41 | 40 | */ |
| 42 | 41 | public function setEnableUsername($enableUsername); |
@@ -52,6 +51,7 @@ discard block |
||
| 52 | 51 | * set user form timeout in seconds |
| 53 | 52 | * |
| 54 | 53 | * @param int $userFormTimeout |
| 54 | + * @return ModuleOptions |
|
| 55 | 55 | */ |
| 56 | 56 | public function setUserFormTimeout($userFormTimeout); |
| 57 | 57 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * Set the event manager instance used by this context |
| 17 | 17 | * |
| 18 | 18 | * @param EventManagerInterface $events |
| 19 | - * @return mixed |
|
| 19 | + * @return EventProvider |
|
| 20 | 20 | */ |
| 21 | 21 | public function setEventManager(EventManagerInterface $events) |
| 22 | 22 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Zend\EventManager\EventManagerAwareInterface; |
| 6 | 6 | use Zend\EventManager\EventManagerInterface; |
| 7 | 7 | use Zend\EventManager\EventManager; |
| 8 | -use Zend\EventManager\SharedEventManager; |
|
| 9 | 8 | |
| 10 | 9 | abstract class EventProvider implements EventManagerAwareInterface |
| 11 | 10 | { |
@@ -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) |
@@ -93,7 +93,7 @@ |
||
| 93 | 93 | * Grab the user from the mapper |
| 94 | 94 | * |
| 95 | 95 | * @param string $value |
| 96 | - * @return mixed |
|
| 96 | + * @return \ZfcUser\Entity\UserInterface |
|
| 97 | 97 | */ |
| 98 | 98 | protected function query($value) |
| 99 | 99 | { |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @param AdapterChainEvent $e |
| 48 | - * @return bool |
|
| 48 | + * @return null|false |
|
| 49 | 49 | */ |
| 50 | 50 | public function authenticate(AdapterChainEvent $e) |
| 51 | 51 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Interop\Container\ContainerInterface; |
| 6 | 6 | use Zend\Authentication\Result as AuthenticationResult; |
| 7 | -use Zend\EventManager\EventInterface; |
|
| 8 | 7 | use Zend\ServiceManager\ServiceManager; |
| 9 | 8 | use Zend\Crypt\Password\Bcrypt; |
| 10 | 9 | use Zend\Session\Container as SessionContainer; |
@@ -9,13 +9,14 @@ discard block |
||
| 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 | |
@@ -52,7 +53,6 @@ discard block |
||
| 52 | 53 | /** |
| 53 | 54 | * set use a csrf in login form |
| 54 | 55 | * |
| 55 | - * @param bool $useRegistrationFormCaptcha |
|
| 56 | 56 | * @return ModuleOptions |
| 57 | 57 | */ |
| 58 | 58 | public function setUseLoginFormCsrf($useLoginFormCsrf); |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | /** |
| 377 | 377 | * set auth adapters |
| 378 | 378 | * |
| 379 | - * @param array $authAdapterss |
|
| 379 | + * @param array $authAdapters |
|
| 380 | 380 | * @return ModuleOptions |
| 381 | 381 | */ |
| 382 | 382 | public function setAuthAdapters($authAdapters) |
@@ -486,7 +486,7 @@ discard block |
||
| 486 | 486 | /** |
| 487 | 487 | * set use a captcha in login form |
| 488 | 488 | * |
| 489 | - * @param bool $useRegistrationFormCaptcha |
|
| 489 | + * @param bool $useLoginFormCaptcha |
|
| 490 | 490 | * @return ModuleOptions |
| 491 | 491 | */ |
| 492 | 492 | public function setUseLoginFormCaptcha($useLoginFormCaptcha) |
@@ -508,7 +508,6 @@ discard block |
||
| 508 | 508 | /** |
| 509 | 509 | * set use a csrf in login form |
| 510 | 510 | * |
| 511 | - * @param bool $useRegistrationFormCaptcha |
|
| 512 | 511 | * @return ModuleOptions |
| 513 | 512 | */ |
| 514 | 513 | public function setUseLoginFormCsrf($useLoginFormCsrf) |
@@ -139,7 +139,7 @@ |
||
| 139 | 139 | * |
| 140 | 140 | * By default, will re-cast to AdapterChainEvent if another event type is provided. |
| 141 | 141 | * |
| 142 | - * @param Event $e |
|
| 142 | + * @param AdapterChainEvent $e |
|
| 143 | 143 | * @return AdapterChain |
| 144 | 144 | */ |
| 145 | 145 | public function setEvent(Event $e) |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Zend\Authentication\Adapter\AdapterInterface; |
| 6 | 6 | use Zend\Authentication\Result as AuthenticationResult; |
| 7 | 7 | use Zend\EventManager\Event; |
| 8 | -use Zend\EventManager\EventInterface; |
|
| 9 | 8 | use Zend\EventManager\EventManagerAwareTrait; |
| 10 | 9 | use Zend\Stdlib\RequestInterface as Request; |
| 11 | 10 | use Zend\Stdlib\ResponseInterface as Response; |