@@ -24,7 +24,7 @@ |
||
24 | 24 | * - Injects the AuthenticationService |
25 | 25 | * |
26 | 26 | * @param ServiceLocatorInterface $serviceLocator |
27 | - * @return \Auth\View\Helper\Auth |
|
27 | + * @return Listener |
|
28 | 28 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
29 | 29 | */ |
30 | 30 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * - injects the UserMapper fetched from the service manager. |
27 | 27 | * |
28 | 28 | * @param ServiceLocatorInterface $serviceLocator |
29 | - * @return \Auth\Adapter\HybridAuth |
|
29 | + * @return AuthenticationService |
|
30 | 30 | * @see \Zend\ServiceManager\FactoryInterface::createService() |
31 | 31 | */ |
32 | 32 | public function createService(ServiceLocatorInterface $serviceLocator) |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -25,7 +25,7 @@ |
||
25 | 25 | * |
26 | 26 | * @param ServiceLocatorInterface $serviceLocator |
27 | 27 | * |
28 | - * @return ForgotPassword |
|
28 | + * @return GotoResetPassword |
|
29 | 29 | */ |
30 | 30 | public function createService(ServiceLocatorInterface $serviceLocator) |
31 | 31 | { |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Organizations\Factory\Controller; |
11 | 11 |
@@ -40,7 +40,7 @@ |
||
40 | 40 | |
41 | 41 | /** |
42 | 42 | * {@inheritDoc} |
43 | - * @return GroupsUsersCollection |
|
43 | + * @return GroupUsersCollection |
|
44 | 44 | * @see \Core\Form\ViewPartialProviderInterface::setViewPartial() |
45 | 45 | */ |
46 | 46 | public function setViewPartial($partial) |
@@ -1,11 +1,11 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** UsersCollection.php */ |
11 | 11 | namespace Auth\Form; |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | ); |
99 | 99 | |
100 | 100 | $this->setCount(0) |
101 | - ->setAllowRemove(true) |
|
102 | - ->setAllowAdd(true) |
|
103 | - ->setShouldCreateTemplate(true); |
|
101 | + ->setAllowRemove(true) |
|
102 | + ->setAllowAdd(true) |
|
103 | + ->setShouldCreateTemplate(true); |
|
104 | 104 | |
105 | 105 | |
106 | 106 | } |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * {@inheritDoc} |
35 | - * @return UserInfoContainer |
|
35 | + * @return string |
|
36 | 36 | * @see \Core\Form\ViewPartialProviderInterface::getViewPartial() |
37 | 37 | */ |
38 | 38 | public function getViewPartial() |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -35,8 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * Sets the job entity |
37 | 37 | * |
38 | - * @param Job $jobEntity |
|
39 | - * @return MvcEvent |
|
38 | + * @return AuthEvent |
|
40 | 39 | */ |
41 | 40 | public function setUserEntity($userEntity) |
42 | 41 | { |
@@ -65,6 +64,9 @@ discard block |
||
65 | 64 | return $this->newPassword; |
66 | 65 | } |
67 | 66 | |
67 | + /** |
|
68 | + * @param string $resetLink |
|
69 | + */ |
|
68 | 70 | public function setResetLink($resetLink) |
69 | 71 | { |
70 | 72 | $this->resetLink = $resetLink; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * a new password was created |
24 | 24 | */ |
25 | - const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword'; |
|
25 | + const EVENT_AUTH_NEWPASSWORD = 'auth.newpassword'; |
|
26 | 26 | |
27 | 27 | protected $userEntity; |
28 | 28 |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -49,7 +49,7 @@ |
||
49 | 49 | * Detach all our listeners from the event manager |
50 | 50 | * |
51 | 51 | * @param SharedEventManagerInterface $events |
52 | - * @return void |
|
52 | + * @return boolean |
|
53 | 53 | */ |
54 | 54 | public function detachShared(SharedEventManagerInterface $events) |
55 | 55 | { |
@@ -121,7 +121,7 @@ |
||
121 | 121 | /** |
122 | 122 | * Sets the From: of the mail header |
123 | 123 | * |
124 | - * @param $fromName |
|
124 | + * @param string $fromName |
|
125 | 125 | * @return $this |
126 | 126 | */ |
127 | 127 | public function setFromName($fromName) |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * |
62 | 62 | * @var array() |
63 | 63 | */ |
64 | - protected $enableLogins = ['facebook','xing','linkedin','google','github']; |
|
64 | + protected $enableLogins = ['facebook', 'xing', 'linkedin', 'google', 'github']; |
|
65 | 65 | |
66 | 66 | /** |
67 | 67 | * Enable Registration |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * Creates a User |
65 | 65 | * |
66 | 66 | * @see \Core\Repository\AbstractRepository::create() |
67 | - * @return UserInterface |
|
67 | + * @return \Core\Entity\EntityInterface |
|
68 | 68 | */ |
69 | 69 | public function create(array $data = null) |
70 | 70 | { |
@@ -103,10 +103,10 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @param $email |
|
106 | + * @param string $email |
|
107 | 107 | * @param bool $isDraft |
108 | 108 | * |
109 | - * @return UserInterface|null |
|
109 | + * @return UserInterface |
|
110 | 110 | */ |
111 | 111 | public function findByEmail($email, $isDraft = false) |
112 | 112 | { |
@@ -185,7 +185,7 @@ |
||
185 | 185 | public function findByQuery($query) |
186 | 186 | { |
187 | 187 | $qb = $this->createQueryBuilder(); |
188 | - $parts = explode(' ', trim($query)); |
|
188 | + $parts = explode(' ', trim($query)); |
|
189 | 189 | |
190 | 190 | foreach ($parts as $q) { |
191 | 191 | $regex = new \MongoRegex('/^' . $query . '/i'); |
@@ -194,7 +194,7 @@ |
||
194 | 194 | $qb->addOr($qb->expr()->field('info.email')->equals($regex)); |
195 | 195 | } |
196 | 196 | $qb->sort(array('info.lastName' => 1)) |
197 | - ->sort(array('info.email' => 1)); |
|
197 | + ->sort(array('info.email' => 1)); |
|
198 | 198 | |
199 | 199 | return $qb->getQuery()->execute(); |
200 | 200 | } |