@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | } |
| 244 | 244 | |
| 245 | 245 | /** |
| 246 | - * @param string|DateTimeInterface $newsDate The news date. |
|
| 246 | + * @param string $newsDate The news date. |
|
| 247 | 247 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 248 | 248 | * @return self |
| 249 | 249 | */ |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | } |
| 361 | 361 | |
| 362 | 362 | /** |
| 363 | - * @return Translation|string|null |
|
| 363 | + * @return null|Translation |
|
| 364 | 364 | */ |
| 365 | 365 | public function defaultMetaDescription() |
| 366 | 366 | { |
@@ -363,7 +363,7 @@ discard block |
||
| 363 | 363 | /** |
| 364 | 364 | * Retrieve the menus this object belongs to. |
| 365 | 365 | * |
| 366 | - * @return Translation|string|null |
|
| 366 | + * @return string[] |
|
| 367 | 367 | */ |
| 368 | 368 | public function inMenu() |
| 369 | 369 | { |
@@ -430,7 +430,7 @@ discard block |
||
| 430 | 430 | } |
| 431 | 431 | |
| 432 | 432 | /** |
| 433 | - * @return Translation|string|null |
|
| 433 | + * @return null|Translation |
|
| 434 | 434 | */ |
| 435 | 435 | public function defaultMetaDescription() |
| 436 | 436 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | // ========================================================================== |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @return mixed |
|
| 86 | + * @return string |
|
| 87 | 87 | */ |
| 88 | 88 | public function defaultMetaTitle() |
| 89 | 89 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @return mixed |
|
| 94 | + * @return string |
|
| 95 | 95 | */ |
| 96 | 96 | public function defaultMetaDescription() |
| 97 | 97 | { |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | - * @return mixed |
|
| 102 | + * @return string |
|
| 103 | 103 | */ |
| 104 | 104 | public function defaultMetaImage() |
| 105 | 105 | { |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | /** |
| 110 | - * @return mixed |
|
| 110 | + * @return string |
|
| 111 | 111 | */ |
| 112 | 112 | public function defaultMetaUrl() |
| 113 | 113 | { |
@@ -232,7 +232,7 @@ |
||
| 232 | 232 | // ========================================================================== |
| 233 | 233 | |
| 234 | 234 | /** |
| 235 | - * @return mixed |
|
| 235 | + * @return string |
|
| 236 | 236 | */ |
| 237 | 237 | public function defaultFromEmail() |
| 238 | 238 | { |
@@ -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 | { |
@@ -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 | { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | - * @param mixed $date The news date to filter |
|
| 88 | + * @param DateTime $date The news date to filter |
|
| 89 | 89 | * [startDate, endDate] |
| 90 | 90 | * DateTimeInterface |
| 91 | 91 | * string. |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * @param mixed $date The news date to filter |
|
| 104 | + * @param DateTime $date The news date to filter |
|
| 105 | 105 | * [startDate, endDate] |
| 106 | 106 | * DateTimeInterface |
| 107 | 107 | * string. |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | // ========================================================================== |
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | - * @return mixed |
|
| 124 | + * @return string |
|
| 125 | 125 | */ |
| 126 | 126 | public function lifespan() |
| 127 | 127 | { |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | // ========================================================================== |
| 214 | 214 | |
| 215 | 215 | /** |
| 216 | - * @return object |
|
| 216 | + * @return string |
|
| 217 | 217 | */ |
| 218 | 218 | public function objType() |
| 219 | 219 | { |
@@ -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 | { |
@@ -559,7 +559,7 @@ discard block |
||
| 559 | 559 | } |
| 560 | 560 | |
| 561 | 561 | /** |
| 562 | - * @return mixed |
|
| 562 | + * @return string |
|
| 563 | 563 | */ |
| 564 | 564 | public function objType() |
| 565 | 565 | { |
@@ -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 | { |