@@ -77,6 +77,7 @@ discard block |
||
77 | 77 | |
78 | 78 | /** |
79 | 79 | * @param string $description |
80 | + * @param double[] $params |
|
80 | 81 | * |
81 | 82 | * @return $this |
82 | 83 | */ |
@@ -258,7 +259,7 @@ discard block |
||
258 | 259 | } |
259 | 260 | |
260 | 261 | /** |
261 | - * @param $spec |
|
262 | + * @param string $spec |
|
262 | 263 | * |
263 | 264 | * @return $this |
264 | 265 | */ |
@@ -32,7 +32,6 @@ |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | - * @param mixed $value$organizationImageEntity |
|
36 | 35 | * |
37 | 36 | * @return mixed |
38 | 37 | */ |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Finds the main organization of an user. |
108 | 108 | * |
109 | - * @param string|UserInterface $userOrId |
|
109 | + * @param string $userOrId |
|
110 | 110 | * |
111 | 111 | * @return null|OrganizationInterface |
112 | 112 | */ |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Finds the organization, an user is employed by. |
144 | 144 | * |
145 | - * @param string|UserInterface $userOrId |
|
145 | + * @param string $userOrId |
|
146 | 146 | * |
147 | 147 | * @return null|OrganizationInterface |
148 | 148 | */ |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | /** |
271 | 271 | * Look for an drafted Document of a given user |
272 | 272 | * |
273 | - * @param $user |
|
273 | + * @param \Auth\Entity\AnonymousUser $user |
|
274 | 274 | * @return \Organizations\Entity\Organization|null |
275 | 275 | */ |
276 | 276 | public function findDraft($user) |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | /** |
71 | 71 | * Sets the converter |
72 | 72 | * |
73 | - * @param $converter |
|
73 | + * @param Converter $converter |
|
74 | 74 | * |
75 | 75 | * @return $this |
76 | 76 | */ |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | /** |
156 | 156 | * Gets the data of an element |
157 | 157 | * |
158 | - * @return mixed |
|
158 | + * @return Hidden |
|
159 | 159 | */ |
160 | 160 | public function getDataElement() |
161 | 161 | { |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | /** |
166 | 166 | * Gets the name of an element |
167 | 167 | * |
168 | - * @return mixed |
|
168 | + * @return Text |
|
169 | 169 | */ |
170 | 170 | public function getNameElement() |
171 | 171 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * Gets the Job Titles of a certain user. |
69 | 69 | * |
70 | 70 | * @param $query |
71 | - * @param $userId |
|
71 | + * @param \Auth\Controller\Plugin\Auth $userId |
|
72 | 72 | * @return mixed |
73 | 73 | * @throws \Doctrine\ODM\MongoDB\MongoDBException |
74 | 74 | */ |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Look for an drafted Document of a given user |
93 | 93 | * |
94 | - * @param $user |
|
94 | + * @param \Auth\Entity\AnonymousUser $user |
|
95 | 95 | * @return \Jobs\Entity\Job|null |
96 | 96 | */ |
97 | 97 | public function findDraft($user) |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | * Sets the Day of the date of birth. |
24 | 24 | * |
25 | 25 | * @param string $birthDay |
26 | + * @return Info |
|
26 | 27 | */ |
27 | 28 | public function setBirthDay($birthDay); |
28 | 29 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | * Sets the month of the date of birth. |
38 | 39 | * |
39 | 40 | * @param string $birthMonth |
41 | + * @return Info |
|
40 | 42 | */ |
41 | 43 | public function setBirthMonth($birthMonth); |
42 | 44 | |
@@ -51,6 +53,7 @@ discard block |
||
51 | 53 | * Sets the year of the date of birth. |
52 | 54 | * |
53 | 55 | * @param string $email |
56 | + * @return Info |
|
54 | 57 | */ |
55 | 58 | public function setBirthYear($email); |
56 | 59 | |
@@ -65,6 +68,7 @@ discard block |
||
65 | 68 | * Sets the email. |
66 | 69 | * |
67 | 70 | * @param string $email |
71 | + * @return Info |
|
68 | 72 | */ |
69 | 73 | public function setEmail($email); |
70 | 74 | |
@@ -90,6 +94,7 @@ discard block |
||
90 | 94 | * Sets the first name |
91 | 95 | * |
92 | 96 | * @param string $name |
97 | + * @return Info |
|
93 | 98 | */ |
94 | 99 | public function setFirstName($name); |
95 | 100 | |
@@ -104,6 +109,7 @@ discard block |
||
104 | 109 | * Sets the gender |
105 | 110 | * |
106 | 111 | * @param string $gender |
112 | + * @return Info |
|
107 | 113 | */ |
108 | 114 | public function setGender($gender); |
109 | 115 | |
@@ -119,6 +125,7 @@ discard block |
||
119 | 125 | * Sets the last name |
120 | 126 | * |
121 | 127 | * @param string $name |
128 | + * @return Info |
|
122 | 129 | */ |
123 | 130 | public function setLastName($name); |
124 | 131 | |
@@ -133,6 +140,7 @@ discard block |
||
133 | 140 | * Sets the profile Image of an user |
134 | 141 | * |
135 | 142 | * @param EntityInterface $image |
143 | + * @return Info |
|
136 | 144 | */ |
137 | 145 | public function setImage(EntityInterface $image = null); |
138 | 146 | |
@@ -147,6 +155,7 @@ discard block |
||
147 | 155 | * Sets the users street |
148 | 156 | * |
149 | 157 | * @param string $name |
158 | + * @return Info |
|
150 | 159 | */ |
151 | 160 | public function setStreet($name); |
152 | 161 | |
@@ -161,6 +170,7 @@ discard block |
||
161 | 170 | * Sets the users house number |
162 | 171 | * |
163 | 172 | * @param string $houseNumber |
173 | + * @return Info |
|
164 | 174 | */ |
165 | 175 | public function setHouseNumber($houseNumber); |
166 | 176 | |
@@ -186,6 +196,7 @@ discard block |
||
186 | 196 | * |
187 | 197 | * @param string $postalCode |
188 | 198 | * @since 0.20 |
199 | + * @return Info |
|
189 | 200 | */ |
190 | 201 | public function setPostalCode($postalCode); |
191 | 202 | |
@@ -202,6 +213,7 @@ discard block |
||
202 | 213 | * |
203 | 214 | * @param string $phone |
204 | 215 | * @since 0.20 |
216 | + * @return Info |
|
205 | 217 | */ |
206 | 218 | public function setPhone($phone); |
207 | 219 | |
@@ -218,6 +230,7 @@ discard block |
||
218 | 230 | * |
219 | 231 | * @param string $city |
220 | 232 | * @since 0.20 |
233 | + * @return Info |
|
221 | 234 | */ |
222 | 235 | public function setCity($city); |
223 | 236 |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param bool $recursive |
28 | - * @param array $skipMembers |
|
28 | + * @param string[] $skipMembers |
|
29 | 29 | * |
30 | 30 | * @return $this |
31 | 31 | */ |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | /** |
133 | - * @param $property |
|
133 | + * @param string $property |
|
134 | 134 | * |
135 | 135 | * @return null |
136 | 136 | */ |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * @see \Core\Repository\Filter\AbstractPaginationQuery::createQuery() |
52 | 52 | * @param $params |
53 | 53 | * @param \Doctrine\ODM\MongoDB\Query\Builder $queryBuilder |
54 | - * @return mixed |
|
54 | + * @return \Doctrine\ODM\MongoDB\Query\Builder |
|
55 | 55 | */ |
56 | 56 | public function createQuery($params, $queryBuilder) |
57 | 57 | { |
@@ -22,6 +22,9 @@ |
||
22 | 22 | */ |
23 | 23 | trait EntityTrait |
24 | 24 | { |
25 | + /** |
|
26 | + * @param string $property |
|
27 | + */ |
|
25 | 28 | public function notEmpty($property, array $args=[]) |
26 | 29 | { |
27 | 30 | $method = "get$property"; |