Completed
Pull Request — 1.x (#627)
by Dylan
08:40
created
src/ZfcUser/Authentication/Adapter/AdapterChainEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
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())
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/Mapper/UserHydrator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@
 block discarded – undo
47 47
         return parent::hydrate($data, $object);
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $keyFrom
52
+     * @param string $keyTo
53
+     */
50 54
     protected function mapField($keyFrom, $keyTo, array $array)
51 55
     {
52 56
         $array[$keyTo] = $array[$keyFrom];
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/Controller/UserController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -433,7 +433,7 @@
 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
     {
Please login to merge, or discard this patch.
src/ZfcUser/Factory/AuthenticationService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * Create service
19 19
      *
20 20
      * @param ServiceLocatorInterface $serviceLocator
21
-     * @return mixed
21
+     * @return \Zend\Authentication\AuthenticationService
22 22
      */
23 23
     public function createService(ServiceLocatorInterface $serviceLocator)
24 24
     {
Please login to merge, or discard this patch.