@@ -71,7 +71,7 @@ |
||
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | 73 | * Gets latest route for the given slug. |
| 74 | - * @return string The latest url. |
|
| 74 | + * @return \Closure The latest url. |
|
| 75 | 75 | */ |
| 76 | 76 | public function routes() |
| 77 | 77 | { |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | } |
| 231 | 231 | |
| 232 | 232 | /** |
| 233 | - * @param string|DateTimeInterface $startDate Event starting date. |
|
| 233 | + * @param string $startDate Event starting date. |
|
| 234 | 234 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 235 | 235 | * @return self |
| 236 | 236 | */ |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | /** |
| 266 | - * @param string|DateTimeInterface $endDate Event end date. |
|
| 266 | + * @param null|DateTimeInterface $endDate Event end date. |
|
| 267 | 267 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 268 | 268 | * @return self |
| 269 | 269 | */ |
@@ -319,7 +319,7 @@ discard block |
||
| 319 | 319 | } |
| 320 | 320 | |
| 321 | 321 | /** |
| 322 | - * @return Translation|string|null |
|
| 322 | + * @return null|Translation |
|
| 323 | 323 | */ |
| 324 | 324 | public function defaultMetaDescription() |
| 325 | 325 | { |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @return boolean Entry cycle. |
|
| 62 | + * @return string Entry cycle. |
|
| 63 | 63 | */ |
| 64 | 64 | public function entryCycle() |
| 65 | 65 | { |
@@ -263,7 +263,7 @@ |
||
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | /** |
| 266 | - * @param mixed $format DateTime to be formatted. |
|
| 266 | + * @param string $format DateTime to be formatted. |
|
| 267 | 267 | * @return mixed |
| 268 | 268 | */ |
| 269 | 269 | private function crossPlatformFormat($format) |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | // ========================================================================== |
| 99 | 99 | |
| 100 | 100 | /** |
| 101 | - * @return mixed |
|
| 101 | + * @return string |
|
| 102 | 102 | */ |
| 103 | 103 | public function median() |
| 104 | 104 | { |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | 151 | * @param integer|null $id The news id. |
| 152 | - * @return mixed |
|
| 152 | + * @return NewsInterface |
|
| 153 | 153 | */ |
| 154 | 154 | public function entry($id = null) |
| 155 | 155 | { |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | } |
| 317 | 317 | |
| 318 | 318 | /** |
| 319 | - * @return mixed The previous news |
|
| 319 | + * @return NewsInterface The previous news |
|
| 320 | 320 | */ |
| 321 | 321 | public function prev() |
| 322 | 322 | { |
@@ -328,7 +328,7 @@ discard block |
||
| 328 | 328 | } |
| 329 | 329 | |
| 330 | 330 | /** |
| 331 | - * @return mixed The next news |
|
| 331 | + * @return NewsInterface The next news |
|
| 332 | 332 | */ |
| 333 | 333 | public function next() |
| 334 | 334 | { |
@@ -400,7 +400,7 @@ discard block |
||
| 400 | 400 | |
| 401 | 401 | /** |
| 402 | 402 | * Amount of news (total) |
| 403 | - * @return integer How many news? |
|
| 403 | + * @return boolean How many news? |
|
| 404 | 404 | */ |
| 405 | 405 | public function numNews() |
| 406 | 406 | { |
@@ -442,7 +442,7 @@ discard block |
||
| 442 | 442 | } |
| 443 | 443 | |
| 444 | 444 | /** |
| 445 | - * @return mixed |
|
| 445 | + * @return string |
|
| 446 | 446 | */ |
| 447 | 447 | public function objType() |
| 448 | 448 | { |
@@ -450,7 +450,7 @@ discard block |
||
| 450 | 450 | } |
| 451 | 451 | |
| 452 | 452 | /** |
| 453 | - * @return mixed |
|
| 453 | + * @return string |
|
| 454 | 454 | */ |
| 455 | 455 | public function featIdent() |
| 456 | 456 | { |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | |
| 231 | 231 | /** |
| 232 | 232 | * @param integer|null $id The event id. |
| 233 | - * @return mixed |
|
| 233 | + * @return EventInterface |
|
| 234 | 234 | */ |
| 235 | 235 | public function entry($id = null) |
| 236 | 236 | { |
@@ -398,7 +398,7 @@ discard block |
||
| 398 | 398 | } |
| 399 | 399 | |
| 400 | 400 | /** |
| 401 | - * @return mixed The previous event |
|
| 401 | + * @return EventInterface The previous event |
|
| 402 | 402 | */ |
| 403 | 403 | public function prev() |
| 404 | 404 | { |
@@ -410,7 +410,7 @@ discard block |
||
| 410 | 410 | } |
| 411 | 411 | |
| 412 | 412 | /** |
| 413 | - * @return mixed The next event |
|
| 413 | + * @return EventInterface The next event |
|
| 414 | 414 | */ |
| 415 | 415 | public function next() |
| 416 | 416 | { |
@@ -504,7 +504,7 @@ discard block |
||
| 504 | 504 | |
| 505 | 505 | /** |
| 506 | 506 | * Amount of event (total) |
| 507 | - * @return integer How many event? |
|
| 507 | + * @return boolean How many event? |
|
| 508 | 508 | */ |
| 509 | 509 | public function numEvent() |
| 510 | 510 | { |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | } |
| 568 | 568 | |
| 569 | 569 | /** |
| 570 | - * @return mixed |
|
| 570 | + * @return string |
|
| 571 | 571 | */ |
| 572 | 572 | public function featIdent() |
| 573 | 573 | { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | - * @return mixed |
|
| 58 | + * @return string[] |
|
| 59 | 59 | */ |
| 60 | 60 | public function name() |
| 61 | 61 | { |