@@ -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 | { |
@@ -159,7 +159,6 @@ discard block |
||
159 | 159 | * |
160 | 160 | * parameter are arbitrary elements for defaults or programming flow |
161 | 161 | * |
162 | - * @param array $parameter |
|
163 | 162 | * @return null|ViewModel |
164 | 163 | * @throws \RuntimeException |
165 | 164 | */ |
@@ -366,7 +365,7 @@ discard block |
||
366 | 365 | |
367 | 366 | /** |
368 | 367 | * @param $job |
369 | - * @return mixed |
|
368 | + * @return \Jobs\Form\Job |
|
370 | 369 | */ |
371 | 370 | protected function getFormular($job) |
372 | 371 | { |
@@ -388,7 +387,7 @@ discard block |
||
388 | 387 | } |
389 | 388 | |
390 | 389 | /** |
391 | - * @param $form |
|
390 | + * @param \Jobs\Form\Job $form |
|
392 | 391 | * @param array $params |
393 | 392 | * @return ViewModel |
394 | 393 | */ |
@@ -564,7 +563,7 @@ discard block |
||
564 | 563 | } |
565 | 564 | |
566 | 565 | /** |
567 | - * @param $script |
|
566 | + * @param string $script |
|
568 | 567 | * @param array $parameter |
569 | 568 | * @return ViewModel |
570 | 569 | */ |
@@ -34,6 +34,7 @@ discard block |
||
34 | 34 | * Gets the unique key used by applications to reference a job posting |
35 | 35 | * |
36 | 36 | * @param string $applyId |
37 | + * @return JobInterface |
|
37 | 38 | */ |
38 | 39 | public function setApplyId($applyId); |
39 | 40 | |
@@ -89,6 +90,7 @@ discard block |
||
89 | 90 | * Sets an URI for a job posting |
90 | 91 | * |
91 | 92 | * @param string $link |
93 | + * @return Job |
|
92 | 94 | */ |
93 | 95 | public function setLink($link); |
94 | 96 | |
@@ -135,6 +137,7 @@ discard block |
||
135 | 137 | * Sets the title of a job posting |
136 | 138 | * |
137 | 139 | * @param string $title |
140 | + * @return JobInterface |
|
138 | 141 | */ |
139 | 142 | public function setTitle($title); |
140 | 143 | |
@@ -236,6 +239,7 @@ discard block |
||
236 | 239 | * Sets the language of a job posting |
237 | 240 | * |
238 | 241 | * @param string $language |
242 | + * @return Job |
|
239 | 243 | */ |
240 | 244 | public function setLanguage($language); |
241 | 245 | |
@@ -251,6 +255,7 @@ discard block |
||
251 | 255 | * Sets the location of a job posting |
252 | 256 | * |
253 | 257 | * @param string $location |
258 | + * @return Job |
|
254 | 259 | */ |
255 | 260 | public function setLocation($location); |
256 | 261 | |
@@ -265,6 +270,7 @@ discard block |
||
265 | 270 | * Sets locations of a job posting |
266 | 271 | * |
267 | 272 | * @param string $locations |
273 | + * @return Job |
|
268 | 274 | */ |
269 | 275 | public function setLocations($locations); |
270 | 276 | |
@@ -279,6 +285,7 @@ discard block |
||
279 | 285 | * Sets applications for a job posting |
280 | 286 | * |
281 | 287 | * @param Collection $applications |
288 | + * @return Job |
|
282 | 289 | */ |
283 | 290 | public function setApplications(Collection $applications); |
284 | 291 | |
@@ -293,6 +300,7 @@ discard block |
||
293 | 300 | * Sets Status of a job posting |
294 | 301 | * |
295 | 302 | * @param string $status |
303 | + * @return void |
|
296 | 304 | */ |
297 | 305 | public function setStatus($status); |
298 | 306 | |
@@ -338,6 +346,7 @@ discard block |
||
338 | 346 | * organisation offering the job. |
339 | 347 | * |
340 | 348 | * @param string $reference |
349 | + * @return Job |
|
341 | 350 | */ |
342 | 351 | public function setReference($reference); |
343 | 352 | |
@@ -353,6 +362,7 @@ discard block |
||
353 | 362 | * Sets the list of channels where a job opening should be published |
354 | 363 | * |
355 | 364 | * @param Array $portals |
365 | + * @return Job |
|
356 | 366 | */ |
357 | 367 | public function setPortals(array $portals); |
358 | 368 |
@@ -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; } |
@@ -26,7 +26,7 @@ |
||
26 | 26 | protected $locationEngineType; |
27 | 27 | |
28 | 28 | /** |
29 | - * @param $locationEngineType |
|
29 | + * @param string $locationEngineType |
|
30 | 30 | */ |
31 | 31 | public function setLocationEngineType($locationEngineType) { |
32 | 32 | $this->locationEngineType = $locationEngineType; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * @param ServiceLocatorInterface $serviceLocator |
21 | 21 | * |
22 | - * @return UsersController |
|
22 | + * @return \Auth\Controller\RemoveController |
|
23 | 23 | */ |
24 | 24 | public function createService(ServiceLocatorInterface $serviceLocator) |
25 | 25 | { |
@@ -41,9 +41,7 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @param User $user |
|
45 | - * @param Router $router |
|
46 | - * @return ListInterface[] |
|
44 | + * @return \Zend\EventManager\ResponseCollection |
|
47 | 45 | */ |
48 | 46 | public function getLists() |
49 | 47 | { |
@@ -52,8 +50,7 @@ discard block |
||
52 | 50 | |
53 | 51 | /** |
54 | 52 | * @param User $user |
55 | - * @param Router $router |
|
56 | - * @return \Zend\EventManager\ResponseCollection |
|
53 | + * @return boolean |
|
57 | 54 | */ |
58 | 55 | public function removeItems(User $user) |
59 | 56 | { |
@@ -41,6 +41,9 @@ |
||
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) { |