@@ -31,6 +31,11 @@ discard block |
||
31 | 31 | return $this->hydrator; |
32 | 32 | } |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $name |
|
36 | + * |
|
37 | + * @return callable |
|
38 | + */ |
|
34 | 39 | protected function getPlugin($name) |
35 | 40 | { |
36 | 41 | $plugin = null; |
@@ -69,6 +74,9 @@ discard block |
||
69 | 74 | $this->add($this->formManager->get('DefaultButtonsFieldset')); |
70 | 75 | } |
71 | 76 | |
77 | + /** |
|
78 | + * @return string |
|
79 | + */ |
|
72 | 80 | abstract public function getCoreFieldset(); |
73 | 81 | |
74 | 82 | /** |
@@ -47,6 +47,9 @@ discard block |
||
47 | 47 | $this->buttonsIterator->isLIFO(false); |
48 | 48 | } |
49 | 49 | |
50 | + /** |
|
51 | + * @param string $name |
|
52 | + */ |
|
50 | 53 | public function setButtonElement($name) |
51 | 54 | { |
52 | 55 | return $this->setOption('button_element', $name); |
@@ -182,6 +185,9 @@ discard block |
||
182 | 185 | return $this->buttonsIterator; |
183 | 186 | } |
184 | 187 | |
188 | + /** |
|
189 | + * @param string $name |
|
190 | + */ |
|
185 | 191 | public function addButton($name, $priority = 0, $type = 'button') |
186 | 192 | { |
187 | 193 | if (is_array($name)) { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Sets the entity |
34 | 34 | * |
35 | - * @param $entity |
|
35 | + * @param EntityInterface $entity |
|
36 | 36 | * @throws \Core\Exception\ImmutablePropertyException |
37 | 37 | */ |
38 | 38 | public function __construct($entity) |
@@ -67,6 +67,9 @@ discard block |
||
67 | 67 | return $return === $entity ? $this : $return; |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @param string $property |
|
72 | + */ |
|
70 | 73 | protected function inaccessible($property) |
71 | 74 | { |
72 | 75 | throw new \DomainException(sprintf( |
@@ -75,6 +78,9 @@ discard block |
||
75 | 78 | )); |
76 | 79 | } |
77 | 80 | |
81 | + /** |
|
82 | + * @param string $property |
|
83 | + */ |
|
78 | 84 | protected function immutable($property) |
79 | 85 | { |
80 | 86 | throw new ImmutablePropertyException($property, $this); |
@@ -536,7 +536,7 @@ |
||
536 | 536 | |
537 | 537 | /** |
538 | 538 | * Gets the number of unread applications |
539 | - * @return Collection |
|
539 | + * @return integer |
|
540 | 540 | */ |
541 | 541 | public function getUnreadApplications() |
542 | 542 | { |
@@ -38,6 +38,7 @@ discard block |
||
38 | 38 | * Gets the unique key used by applications to reference a job posting |
39 | 39 | * |
40 | 40 | * @param string $applyId |
41 | + * @return JobInterface|null |
|
41 | 42 | */ |
42 | 43 | public function setApplyId($applyId); |
43 | 44 | |
@@ -93,6 +94,7 @@ discard block |
||
93 | 94 | * Sets an URI for a job posting |
94 | 95 | * |
95 | 96 | * @param string $link |
97 | + * @return Job |
|
96 | 98 | */ |
97 | 99 | public function setLink($link); |
98 | 100 | |
@@ -139,6 +141,7 @@ discard block |
||
139 | 141 | * Sets the title of a job posting |
140 | 142 | * |
141 | 143 | * @param string $title |
144 | + * @return JobInterface |
|
142 | 145 | */ |
143 | 146 | public function setTitle($title); |
144 | 147 | |
@@ -240,6 +243,7 @@ discard block |
||
240 | 243 | * Sets the language of a job posting |
241 | 244 | * |
242 | 245 | * @param string $language |
246 | + * @return Job |
|
243 | 247 | */ |
244 | 248 | public function setLanguage($language); |
245 | 249 | |
@@ -255,6 +259,7 @@ discard block |
||
255 | 259 | * Sets the location of a job posting |
256 | 260 | * |
257 | 261 | * @param string $location |
262 | + * @return Job |
|
258 | 263 | */ |
259 | 264 | public function setLocation($location); |
260 | 265 | |
@@ -269,6 +274,7 @@ discard block |
||
269 | 274 | * Sets locations of a job posting |
270 | 275 | * |
271 | 276 | * @param string $locations |
277 | + * @return Job |
|
272 | 278 | */ |
273 | 279 | public function setLocations($locations); |
274 | 280 | |
@@ -283,6 +289,7 @@ discard block |
||
283 | 289 | * Sets applications for a job posting |
284 | 290 | * |
285 | 291 | * @param Collection $applications |
292 | + * @return Job|null |
|
286 | 293 | */ |
287 | 294 | public function setApplications(Collection $applications); |
288 | 295 | |
@@ -297,6 +304,7 @@ discard block |
||
297 | 304 | * Sets Status of a job posting |
298 | 305 | * |
299 | 306 | * @param string $status |
307 | + * @return void |
|
300 | 308 | */ |
301 | 309 | public function setStatus($status); |
302 | 310 | |
@@ -342,6 +350,7 @@ discard block |
||
342 | 350 | * organisation offering the job. |
343 | 351 | * |
344 | 352 | * @param string $reference |
353 | + * @return Job |
|
345 | 354 | */ |
346 | 355 | public function setReference($reference); |
347 | 356 | |
@@ -357,6 +366,7 @@ discard block |
||
357 | 366 | * Sets the list of channels where a job opening should be published |
358 | 367 | * |
359 | 368 | * @param Array $portals |
369 | + * @return Job|null |
|
360 | 370 | */ |
361 | 371 | public function setPortals(array $portals); |
362 | 372 |
@@ -52,7 +52,6 @@ |
||
52 | 52 | * |
53 | 53 | * @param string $paginatorName |
54 | 54 | * @param array $defaultParams |
55 | - * @param bool $usePostParams if true, the POST parameters from the request are used. |
|
56 | 55 | * |
57 | 56 | * @return \Zend\Paginator\Paginator |
58 | 57 | * @throws \InvalidArgumentException |
@@ -46,10 +46,8 @@ |
||
46 | 46 | * |
47 | 47 | * Proxies to {@link get()} |
48 | 48 | * |
49 | - * @param string|array $elementsFieldset |
|
50 | - * @param null|string $buttonsFieldset |
|
51 | 49 | * |
52 | - * @return \Core\Form\TextSearchForm |
|
50 | + * @return \Core\Form\SearchForm |
|
53 | 51 | */ |
54 | 52 | public function __invoke($form, $options = null, $params = null) |
55 | 53 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | /** |
94 | 94 | * Switch to another user. |
95 | 95 | * |
96 | - * @param string|UserInterface $id user id of the user to switch to. |
|
96 | + * @param string $id user id of the user to switch to. |
|
97 | 97 | * @param array $params Additional parameters to store in the session container. |
98 | 98 | * |
99 | 99 | * @return bool |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | * @param string $key |
168 | 168 | * @param mixed $default Value to return if param $key is not set. |
169 | 169 | * |
170 | - * @return null |
|
170 | + * @return string |
|
171 | 171 | */ |
172 | 172 | public function getSessionParam($key, $default = null) |
173 | 173 | { |