@@ -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 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * Retrieve the renderable object's template identifier. |
88 | 88 | * |
89 | - * @return mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public function templateIdent() |
92 | 92 | { |
@@ -238,7 +238,7 @@ |
||
238 | 238 | /** |
239 | 239 | * Retrieve the form object's template controller identifier. |
240 | 240 | * |
241 | - * @return mixed |
|
241 | + * @return string |
|
242 | 242 | */ |
243 | 243 | public function controllerIdent() |
244 | 244 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | - * @param mixed $date The news date to filter |
|
90 | + * @param DateTime $date The news date to filter |
|
91 | 91 | * [startDate, endDate] |
92 | 92 | * DateTimeInterface |
93 | 93 | * string. |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | /** |
106 | - * @param mixed $date The news date to filter |
|
106 | + * @param DateTime $date The news date to filter |
|
107 | 107 | * [startDate, endDate] |
108 | 108 | * DateTimeInterface |
109 | 109 | * string. |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | /** |
122 | - * @return mixed |
|
122 | + * @return string |
|
123 | 123 | */ |
124 | 124 | public function lifespan() |
125 | 125 | { |
@@ -222,7 +222,7 @@ |
||
222 | 222 | } |
223 | 223 | |
224 | 224 | /** |
225 | - * @return object |
|
225 | + * @return string |
|
226 | 226 | */ |
227 | 227 | public function objType() |
228 | 228 | { |
@@ -166,7 +166,7 @@ |
||
166 | 166 | /** |
167 | 167 | * Retrieve the canonical URI of the object. |
168 | 168 | * |
169 | - * @return \Psr\Http\Message\UriInterface|string|null |
|
169 | + * @return UriInterface|null |
|
170 | 170 | */ |
171 | 171 | public function canonicalUrl() |
172 | 172 | { |
@@ -58,7 +58,7 @@ |
||
58 | 58 | * |
59 | 59 | * @param string $className The class name of the section model. |
60 | 60 | * @throws InvalidArgumentException If the class name is not a string. |
61 | - * @return AbstractPropertyDisplay Chainable |
|
61 | + * @return ContextualTemplateTrait Chainable |
|
62 | 62 | */ |
63 | 63 | public function setGenericContextClass($className) |
64 | 64 | { |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | * Note: The application's locale is already modified and will be reset |
169 | 169 | * after processing all available languages. |
170 | 170 | * |
171 | - * @param mixed $context The translated {@see \Charcoal\Model\ModelInterface model} |
|
171 | + * @param \Charcoal\Model\ModelInterface|null $context The translated {@see \Charcoal\Model\ModelInterface model} |
|
172 | 172 | * or array-accessible structure. |
173 | 173 | * @param array $localeStruct The currently iterated language. |
174 | 174 | * @return array Returns a link structure. |
@@ -213,7 +213,7 @@ discard block |
||
213 | 213 | /** |
214 | 214 | * Yield the alternate translations associated with the current route. |
215 | 215 | * |
216 | - * @return Generator|null |
|
216 | + * @return \Generator |
|
217 | 217 | */ |
218 | 218 | public function alternateTranslations() |
219 | 219 | { |