@@ -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 | } |
@@ -82,7 +82,7 @@ |
||
82 | 82 | |
83 | 83 | /** |
84 | 84 | * @param EventManagerInterface $eventManager |
85 | - * @return $this|void |
|
85 | + * @return ForgotPassword |
|
86 | 86 | */ |
87 | 87 | public function setEventManager(EventManagerInterface $eventManager) |
88 | 88 | { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @param $user |
|
116 | + * @param \Core\Entity\EntityInterface $user |
|
117 | 117 | * @return $this |
118 | 118 | */ |
119 | 119 | protected function setUser($user) |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | /** |
206 | 206 | * Email-Address |
207 | 207 | * @param $email string |
208 | - * @return mixed |
|
208 | + * @return Register |
|
209 | 209 | */ |
210 | 210 | protected function setEmail($email) |
211 | 211 | { |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Organizations\Factory\Controller; |
11 | 11 |
@@ -23,6 +23,9 @@ |
||
23 | 23 | |
24 | 24 | protected $filter; |
25 | 25 | |
26 | + /** |
|
27 | + * @param StripQueryParamsFilter $filter |
|
28 | + */ |
|
26 | 29 | public function setFilter($filter) |
27 | 30 | { |
28 | 31 | $this->filter = $filter; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | |
24 | 24 | protected $filter; |
25 | 25 | |
26 | + /** |
|
27 | + * @param StripQueryParamsFilter $filter |
|
28 | + */ |
|
26 | 29 | public function setFilter($filter) |
27 | 30 | { |
28 | 31 | $this->filter = $filter; |
@@ -44,7 +47,6 @@ discard block |
||
44 | 47 | * Returns a property value of the authenticated user or null, if |
45 | 48 | * no user is authenticated or the property does not exists. |
46 | 49 | * |
47 | - * @param string $property |
|
48 | 50 | * @return \Auth\View\Helper\Auth|NULL |
49 | 51 | */ |
50 | 52 | public function __invoke($uri, array $stripParams = null) |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * Create the settings service |
15 | 15 | * |
16 | 16 | * @param ServiceLocatorInterface $serviceLocator |
17 | - * @return ControllerManager |
|
17 | + * @return Config |
|
18 | 18 | */ |
19 | 19 | public function createService(ServiceLocatorInterface $serviceLocator) |
20 | 20 | { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @return mixed |
|
81 | + * @return RepositoryInterface |
|
82 | 82 | */ |
83 | 83 | public function getRepositories() |
84 | 84 | { |
@@ -348,7 +348,7 @@ |
||
348 | 348 | } |
349 | 349 | } else { |
350 | 350 | if ($array1[$key] != $array2[$key]) { |
351 | - $result[$key] = array( $array1[$key], $array2[$key]); |
|
351 | + $result[$key] = array($array1[$key], $array2[$key]); |
|
352 | 352 | } |
353 | 353 | } |
354 | 354 | if (!empty($subResult)) { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013-2015 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -125,7 +125,7 @@ |
||
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
128 | - * @return number $itemsPerPage |
|
128 | + * @return integer $itemsPerPage |
|
129 | 129 | */ |
130 | 130 | public function getItemsPerPage() |
131 | 131 | { |