@@ -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 | { |