@@ -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 | { |