@@ -14,6 +14,9 @@ |
||
| 14 | 14 | |
| 15 | 15 | class OrganizationName extends AbstractRepository |
| 16 | 16 | { |
| 17 | + /** |
|
| 18 | + * @param string $name |
|
| 19 | + */ |
|
| 17 | 20 | public function findbyName($name, $create = true) |
| 18 | 21 | { |
| 19 | 22 | $entity = $this->findOneBy(array('name' => $name)); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @return string|\Zend\View\Helper\HelperInterface |
|
| 37 | + * @return string |
|
| 38 | 38 | */ |
| 39 | 39 | public function getViewHelper() |
| 40 | 40 | { |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | 113 | * @param mixed $value |
| 114 | - * @return mixed|ViewModel |
|
| 114 | + * @return ViewModel |
|
| 115 | 115 | * @throws \InvalidArgumentException |
| 116 | 116 | */ |
| 117 | 117 | public function filter($value) |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Sets the label of the qualifications form field |
| 39 | 39 | * |
| 40 | - * @param string $labelQualification |
|
| 40 | + * @param string $labelQualifications |
|
| 41 | 41 | * |
| 42 | 42 | * @return self |
| 43 | 43 | */ |
@@ -36,6 +36,7 @@ discard block |
||
| 36 | 36 | * Gets the unique key used by applications to reference a job posting |
| 37 | 37 | * |
| 38 | 38 | * @param string $applyId |
| 39 | + * @return Job |
|
| 39 | 40 | */ |
| 40 | 41 | public function setApplyId($applyId); |
| 41 | 42 | |
@@ -91,6 +92,7 @@ discard block |
||
| 91 | 92 | * Sets an URI for a job posting |
| 92 | 93 | * |
| 93 | 94 | * @param string $link |
| 95 | + * @return Job |
|
| 94 | 96 | */ |
| 95 | 97 | public function setLink($link); |
| 96 | 98 | |
@@ -121,6 +123,7 @@ discard block |
||
| 121 | 123 | * Sets the title of a job posting |
| 122 | 124 | * |
| 123 | 125 | * @param string $title |
| 126 | + * @return Job |
|
| 124 | 127 | */ |
| 125 | 128 | public function setTitle($title); |
| 126 | 129 | |
@@ -222,6 +225,7 @@ discard block |
||
| 222 | 225 | * Sets the language of a job posting |
| 223 | 226 | * |
| 224 | 227 | * @param string $language |
| 228 | + * @return Job |
|
| 225 | 229 | */ |
| 226 | 230 | public function setLanguage($language); |
| 227 | 231 | |
@@ -237,6 +241,7 @@ discard block |
||
| 237 | 241 | * Sets the location of a job posting |
| 238 | 242 | * |
| 239 | 243 | * @param string $location |
| 244 | + * @return Job |
|
| 240 | 245 | */ |
| 241 | 246 | public function setLocation($location); |
| 242 | 247 | |
@@ -251,6 +256,7 @@ discard block |
||
| 251 | 256 | * Sets locations of a job posting |
| 252 | 257 | * |
| 253 | 258 | * @param string $locations |
| 259 | + * @return Job |
|
| 254 | 260 | */ |
| 255 | 261 | public function setLocations($locations); |
| 256 | 262 | |
@@ -265,6 +271,7 @@ discard block |
||
| 265 | 271 | * Sets applications for a job posting |
| 266 | 272 | * |
| 267 | 273 | * @param Collection $applications |
| 274 | + * @return Job |
|
| 268 | 275 | */ |
| 269 | 276 | public function setApplications(Collection $applications); |
| 270 | 277 | |
@@ -279,6 +286,7 @@ discard block |
||
| 279 | 286 | * Sets Status of a job posting |
| 280 | 287 | * |
| 281 | 288 | * @param string $status |
| 289 | + * @return void |
|
| 282 | 290 | */ |
| 283 | 291 | public function setStatus($status); |
| 284 | 292 | |
@@ -324,6 +332,7 @@ discard block |
||
| 324 | 332 | * organisation offering the job. |
| 325 | 333 | * |
| 326 | 334 | * @param string $reference |
| 335 | + * @return Job |
|
| 327 | 336 | */ |
| 328 | 337 | public function setReference($reference); |
| 329 | 338 | |
@@ -339,6 +348,7 @@ discard block |
||
| 339 | 348 | * Sets the list of channels where a job opening should be published |
| 340 | 349 | * |
| 341 | 350 | * @param Array $portals |
| 351 | + * @return Job |
|
| 342 | 352 | */ |
| 343 | 353 | public function setPortals(array $portals); |
| 344 | 354 | |
@@ -503,7 +503,7 @@ discard block |
||
| 503 | 503 | } |
| 504 | 504 | /** |
| 505 | 505 | * Gets the number of unread applications |
| 506 | - * @return Collection |
|
| 506 | + * @return integer |
|
| 507 | 507 | */ |
| 508 | 508 | public function getUnreadApplications() |
| 509 | 509 | { |
@@ -917,7 +917,7 @@ discard block |
||
| 917 | 917 | } |
| 918 | 918 | |
| 919 | 919 | /** |
| 920 | - * @return Job |
|
| 920 | + * @return JobSnapshot |
|
| 921 | 921 | */ |
| 922 | 922 | public function makeSnapshot() |
| 923 | 923 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * @param $auth AuthenticationService |
| 55 | 55 | * @param $logger LoggerInterface |
| 56 | 56 | * @param $forms |
| 57 | - * @param $options ModuleOptions |
|
| 57 | + * @param ModuleOptions $options ModuleOptions |
|
| 58 | 58 | */ |
| 59 | 59 | public function __construct(AuthenticationService $auth, LoggerInterface $logger,array $forms, $options) |
| 60 | 60 | { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @return bool |
|
| 73 | + * @return string |
|
| 74 | 74 | */ |
| 75 | 75 | public function getMode() |
| 76 | 76 | { |
@@ -155,8 +155,8 @@ |
||
| 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 | */ |