Completed
Push — revert-661-bugfix/redirect-not... ( d145b3 )
by Daniel
11:52
created
src/ZfcUser/Authentication/Adapter/Db.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
           ->setMessages(array('Authentication successful.'));
116 116
     }
117 117
 
118
+    /**
119
+     * @param Bcrypt $bcrypt
120
+     */
118 121
     protected function updateUserPasswordHash($userObject, $password, $bcrypt)
119 122
     {
120 123
         $hash = explode('$', $userObject->getPassword());
@@ -194,7 +197,6 @@  discard block
 block discarded – undo
194 197
     /**
195 198
      * Set service manager instance
196 199
      *
197
-     * @param ServiceManager $locator
198 200
      * @return void
199 201
      */
200 202
     public function setServiceManager(ServiceManager $serviceManager)
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 ServiceManager $locator
173 172
      * @return void
174 173
      */
175 174
     public function setServiceManager(ServiceManager $serviceManager)
Please login to merge, or discard this patch.
src/ZfcUser/Form/ChangeEmail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      * Set Authentication-related Options
62 62
      *
63 63
      * @param AuthenticationOptionsInterface $authOptions
64
-     * @return Login
64
+     * @return ChangeEmail
65 65
      */
66 66
     public function setAuthenticationOptions(AuthenticationOptionsInterface $authOptions)
67 67
     {
Please login to merge, or discard this patch.
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/Factory/Authentication/Adapter/DbFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * Create service
14 14
      *
15 15
      * @param ServiceLocatorInterface $serviceLocator
16
-     * @return mixed
16
+     * @return Db
17 17
      */
18 18
     public function createService(ServiceLocatorInterface $serviceLocator)
19 19
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace ZfcUser\Factory\Authentication\Adapter;
4 4
 
5 5
 use Interop\Container\ContainerInterface;
6
-use Interop\Container\Exception\ContainerException;
7
-use Zend\ServiceManager\Exception\ServiceNotCreatedException;
8
-use Zend\ServiceManager\Exception\ServiceNotFoundException;
9 6
 use Zend\ServiceManager\Factory\FactoryInterface;
10 7
 use Zend\ServiceManager\ServiceLocatorInterface;
11 8
 use ZfcUser\Authentication\Adapter\Db;
Please login to merge, or discard this patch.
src/ZfcUser/Factory/Service/UserFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      * Create service
14 14
      *
15 15
      * @param ServiceLocatorInterface $serviceLocator
16
-     * @return mixed
16
+     * @return User
17 17
      */
18 18
     public function createService(ServiceLocatorInterface $serviceLocator)
19 19
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,9 +3,6 @@
 block discarded – undo
3 3
 namespace ZfcUser\Factory\Service;
4 4
 
5 5
 use Interop\Container\ContainerInterface;
6
-use Interop\Container\Exception\ContainerException;
7
-use Zend\ServiceManager\Exception\ServiceNotCreatedException;
8
-use Zend\ServiceManager\Exception\ServiceNotFoundException;
9 6
 use Zend\ServiceManager\Factory\FactoryInterface;
10 7
 use Zend\ServiceManager\ServiceLocatorInterface;
11 8
 use ZfcUser\Service\User;
Please login to merge, or discard this patch.