Completed
Pull Request — 3.x (#677)
by Roel van
10:12
created
src/ZfcUser/Options/AuthenticationOptionsInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,13 +9,14 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ZfcUser/Options/ModuleOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -366,7 +366,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/ZfcUser/Options/PasswordOptionsInterface.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/ZfcUser/Options/RegistrationOptionsInterface.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/ZfcUser/Authentication/Adapter/AdapterChainServiceFactory.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 namespace ZfcUser\Authentication\Adapter;
3 3
 
4 4
 use Interop\Container\ContainerInterface;
5
-use Interop\Container\Exception\ContainerException;
6
-use Zend\ServiceManager\Exception\ServiceNotCreatedException;
7
-use Zend\ServiceManager\Exception\ServiceNotFoundException;
8 5
 use Zend\ServiceManager\Factory\FactoryInterface;
9 6
 use Zend\ServiceManager\ServiceLocatorInterface;
10 7
 use ZfcUser\Authentication\Adapter\AdapterChain;
Please login to merge, or discard this patch.
src/ZfcUser/Controller/UserController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
 
434 434
     /**
435 435
      * Get changeEmailForm.
436
-     * @return ChangeEmailForm
436
+     * @return FormInterface
437 437
      */
438 438
     public function getChangeEmailForm()
439 439
     {
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
     }
457 457
 
458 458
     /**
459
-     * @param $serviceLocator
459
+     * @param \Interop\Container\ContainerInterface $serviceLocator
460 460
      */
461 461
     public function setServiceLocator($serviceLocator)
462 462
     {
Please login to merge, or discard this patch.
src/ZfcUser/EventManager/EventProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/ZfcUser/Authentication/Adapter/Db.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param EventInterface $e
48
-     * @return bool
48
+     * @return null|false
49 49
      */
50 50
     public function authenticate(EventInterface $e)
51 51
     {
Please login to merge, or discard this patch.
src/ZfcUser/Authentication/Storage/Db.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,6 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.