@@ -93,7 +93,7 @@ |
||
93 | 93 | /** |
94 | 94 | * Gets the the maximum number of allowed attachments |
95 | 95 | * |
96 | - * @return string |
|
96 | + * @return integer |
|
97 | 97 | */ |
98 | 98 | public function getAttachmentsCount() |
99 | 99 | { |
@@ -173,6 +173,9 @@ |
||
173 | 173 | return $this->redirect()->refresh(); |
174 | 174 | } |
175 | 175 | |
176 | + /** |
|
177 | + * @param \Cv\Repository\Cv $repository |
|
178 | + */ |
|
176 | 179 | private function getCv($repository, $user) |
177 | 180 | { |
178 | 181 | $id = |
@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
189 | - * @return ArrayCollection |
|
189 | + * @return IdentityWrapper |
|
190 | 190 | */ |
191 | 191 | public function getEducationsIndexedById() |
192 | 192 | { |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | } |
216 | 216 | |
217 | 217 | /** |
218 | - * @return ArrayCollection |
|
218 | + * @return IdentityWrapper |
|
219 | 219 | */ |
220 | 220 | public function getEmploymentsIndexedById() |
221 | 221 | { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | } |
245 | 245 | |
246 | 246 | /** |
247 | - * @return ArrayCollection |
|
247 | + * @return IdentityWrapper |
|
248 | 248 | */ |
249 | 249 | public function getSkillsIndexedById() |
250 | 250 | { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | /** |
325 | - * @return ArrayCollection |
|
325 | + * @return IdentityWrapper |
|
326 | 326 | */ |
327 | 327 | public function getLanguageSkillsIndexedById() |
328 | 328 | { |
@@ -360,7 +360,7 @@ discard block |
||
360 | 360 | } |
361 | 361 | |
362 | 362 | /** |
363 | - * @param Status|string $status |
|
363 | + * @param string $status |
|
364 | 364 | */ |
365 | 365 | public function setStatus($status) |
366 | 366 | { |
@@ -407,6 +407,9 @@ discard block |
||
407 | 407 | } |
408 | 408 | } |
409 | 409 | |
410 | + /** |
|
411 | + * @param UserInterface $oldUser |
|
412 | + */ |
|
410 | 413 | private function updatePermissions($oldUser = null) |
411 | 414 | { |
412 | 415 | $hasPermissions = (bool) $this->permissions; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Look for an drafted Document of a given user |
23 | 23 | * |
24 | 24 | * @param $user |
25 | - * @return CvEntity|null |
|
25 | + * @return \MongoCursor |
|
26 | 26 | */ |
27 | 27 | public function findDraft($user) |
28 | 28 | { |
@@ -41,6 +41,9 @@ discard block |
||
41 | 41 | */ |
42 | 42 | protected $message; |
43 | 43 | |
44 | + /** |
|
45 | + * @param StatusInterface|null $status |
|
46 | + */ |
|
44 | 47 | public function __construct($status, $message = '[System]') |
45 | 48 | { |
46 | 49 | if (!$status instanceof StatusInterface) { |
@@ -116,7 +119,7 @@ discard block |
||
116 | 119 | /** |
117 | 120 | * Sets the history message |
118 | 121 | * |
119 | - * @param $message |
|
122 | + * @param string $message |
|
120 | 123 | * |
121 | 124 | * @return $this |
122 | 125 | */ |
@@ -72,6 +72,9 @@ discard block |
||
72 | 72 | return $this; |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param AddressList $header |
|
77 | + */ |
|
75 | 78 | protected function stringFromMailHeader($header) |
76 | 79 | { |
77 | 80 | $erg = ''; |
@@ -160,6 +163,9 @@ discard block |
||
160 | 163 | } |
161 | 164 | } |
162 | 165 | |
166 | + /** |
|
167 | + * @return string |
|
168 | + */ |
|
163 | 169 | protected function getTemplate() |
164 | 170 | { |
165 | 171 | $template = null; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * Set the View object |
21 | 21 | * |
22 | 22 | * @param Renderer $view |
23 | - * @return AbstractHelper |
|
23 | + * @return AbstractEventsHelper |
|
24 | 24 | */ |
25 | 25 | public function setView(Renderer $view) |
26 | 26 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | /** |
155 | 155 | * Gets the unique key of a channel |
156 | 156 | * |
157 | - * @return string |
|
157 | + * @return integer |
|
158 | 158 | */ |
159 | 159 | public function getKey() |
160 | 160 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | /** |
177 | 177 | * Gets the unique key of a channel |
178 | 178 | * |
179 | - * @return string |
|
179 | + * @return integer |
|
180 | 180 | */ |
181 | 181 | public function getExternalkey() |
182 | 182 | { |
@@ -259,7 +259,7 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * Gets the tax for a price |
261 | 261 | * |
262 | - * @return string |
|
262 | + * @return integer |
|
263 | 263 | */ |
264 | 264 | public function getTax() |
265 | 265 | { |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | /** |
353 | 353 | * Gets the headline of the channel |
354 | 354 | * |
355 | - * @return mixed |
|
355 | + * @return string |
|
356 | 356 | */ |
357 | 357 | public function getHeadLine() |
358 | 358 | { |
@@ -390,7 +390,7 @@ discard block |
||
390 | 390 | } |
391 | 391 | |
392 | 392 | /** |
393 | - * @return mixed |
|
393 | + * @return string |
|
394 | 394 | */ |
395 | 395 | public function getLinkText() |
396 | 396 | { |
@@ -408,7 +408,7 @@ discard block |
||
408 | 408 | } |
409 | 409 | |
410 | 410 | /** |
411 | - * @return mixed |
|
411 | + * @return string |
|
412 | 412 | */ |
413 | 413 | public function getRoute() |
414 | 414 | { |
@@ -354,6 +354,9 @@ |
||
354 | 354 | return $this; |
355 | 355 | } |
356 | 356 | |
357 | + /** |
|
358 | + * @param string $permission |
|
359 | + */ |
|
357 | 360 | private function checkIsGranted($userId, $permission) |
358 | 361 | { |
359 | 362 | if (!$userId) { return false; } |