@@ -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 | */ |
@@ -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; } |
@@ -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) { |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * Gets the name of a file |
131 | 131 | * |
132 | - * @return mixed |
|
132 | + * @return string |
|
133 | 133 | */ |
134 | 134 | public function getName() |
135 | 135 | { |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Gets the uploaded date of a file |
199 | 199 | * |
200 | - * @return mixed |
|
200 | + * @return null|\DateTime |
|
201 | 201 | */ |
202 | 202 | public function getDateUploaded() |
203 | 203 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | /** |
234 | 234 | * Gets the length of the file |
235 | 235 | * |
236 | - * @return mixed |
|
236 | + * @return string|null |
|
237 | 237 | */ |
238 | 238 | public function getLength() |
239 | 239 | { |
@@ -40,7 +40,7 @@ |
||
40 | 40 | /** |
41 | 41 | * List users |
42 | 42 | * |
43 | - * @return \Zend\Http\Response|ViewModel |
|
43 | + * @return \Core\Controller\Plugin\CreatePaginator |
|
44 | 44 | */ |
45 | 45 | public function listAction() |
46 | 46 | { |
@@ -97,7 +97,7 @@ |
||
97 | 97 | /** |
98 | 98 | * Set the allow multiple selections flag. |
99 | 99 | * |
100 | - * @param Callable|bool $flagOrCallback When a Callable is passed, it must return bool. |
|
100 | + * @param \Closure $flagOrCallback When a Callable is passed, it must return bool. |
|
101 | 101 | * |
102 | 102 | * @return self |
103 | 103 | */ |