@@ -20,14 +20,14 @@ discard block |
||
| 20 | 20 | * Sets the Postal Code of a location |
| 21 | 21 | * |
| 22 | 22 | * @param string $postalCode |
| 23 | - * @return mixed |
|
| 23 | + * @return AbstractLocation |
|
| 24 | 24 | */ |
| 25 | 25 | public function setPostalCode($postalCode); |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Gets the Postal Code of a location |
| 29 | 29 | * |
| 30 | - * @return mixed |
|
| 30 | + * @return string |
|
| 31 | 31 | */ |
| 32 | 32 | public function getPostalCode(); |
| 33 | 33 | |
@@ -44,6 +44,7 @@ discard block |
||
| 44 | 44 | * |
| 45 | 45 | * @param GeoJson $coordinates |
| 46 | 46 | * @internal param $point |
| 47 | + * @return AbstractLocation |
|
| 47 | 48 | */ |
| 48 | 49 | public function setCoordinates(GeoJson $coordinates); |
| 49 | 50 | |
@@ -51,7 +52,7 @@ discard block |
||
| 51 | 52 | * Sets the city name of a Location |
| 52 | 53 | * |
| 53 | 54 | * @param $city |
| 54 | - * @return mixed |
|
| 55 | + * @return AbstractLocation |
|
| 55 | 56 | */ |
| 56 | 57 | public function setCity($city); |
| 57 | 58 | |
@@ -66,14 +67,14 @@ discard block |
||
| 66 | 67 | * Sets the country of a location |
| 67 | 68 | * |
| 68 | 69 | * @param $country |
| 69 | - * @return mixed |
|
| 70 | + * @return AbstractLocation |
|
| 70 | 71 | */ |
| 71 | 72 | public function setCountry($country); |
| 72 | 73 | |
| 73 | 74 | /** |
| 74 | 75 | * Gets the country of a location |
| 75 | 76 | * |
| 76 | - * @return mixed |
|
| 77 | + * @return string |
|
| 77 | 78 | */ |
| 78 | 79 | public function getCountry(); |
| 79 | 80 | |
@@ -81,7 +82,7 @@ discard block |
||
| 81 | 82 | * Sets the region of a location. Eg. "Hessen" is a region in "Germany" |
| 82 | 83 | * |
| 83 | 84 | * @param $region |
| 84 | - * @return mixed |
|
| 85 | + * @return AbstractLocation |
|
| 85 | 86 | */ |
| 86 | 87 | public function setRegion($region); |
| 87 | 88 | |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | 131 | * @param $resource |
| 132 | - * @param null $privilege |
|
| 132 | + * @param null|string $privilege |
|
| 133 | 133 | * @throws \Auth\Exception\UnauthorizedImageAccessException |
| 134 | 134 | * @throws \Auth\Exception\UnauthorizedAccessException |
| 135 | 135 | */ |
@@ -155,8 +155,8 @@ discard block |
||
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | - * @param null $resource |
|
| 159 | - * @param null $privilege |
|
| 158 | + * @param null|string $resource |
|
| 159 | + * @param null|string $privilege |
|
| 160 | 160 | * @param string $mode |
| 161 | 161 | * @return $this|bool |
| 162 | 162 | */ |
@@ -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 | { |