@@ -135,7 +135,7 @@ |
||
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | 137 | * @param mixed $title The section title (localized). |
| 138 | - * @return TranslationString |
|
| 138 | + * @return AbstractSection |
|
| 139 | 139 | */ |
| 140 | 140 | public function setTitle($title) |
| 141 | 141 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * @param mixed $title The news title (localized). |
| 50 | - * @return TranslationString |
|
| 50 | + * @return AbstractText |
|
| 51 | 51 | */ |
| 52 | 52 | public function setTitle($title) |
| 53 | 53 | { |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | |
| 66 | 66 | /** |
| 67 | 67 | * @param mixed $subtitle The news subtitle (localized). |
| 68 | - * @return Event Chainable |
|
| 68 | + * @return AbstractText Chainable |
|
| 69 | 69 | */ |
| 70 | 70 | public function setSubtitle($subtitle) |
| 71 | 71 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | 85 | * @param mixed $content The news content (localized). |
| 86 | - * @return Event Chainable |
|
| 86 | + * @return AbstractText Chainable |
|
| 87 | 87 | */ |
| 88 | 88 | public function setContent($content) |
| 89 | 89 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * @param mixed $title The meta tile (localized). |
| 92 | - * @return MetatagInterface Chainable |
|
| 92 | + * @return MetatagTrait Chainable |
|
| 93 | 93 | */ |
| 94 | 94 | public function setMetaTitle($title) |
| 95 | 95 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | 112 | * @param mixed $description The meta description (localized). |
| 113 | - * @return MetatagInterface Chainable |
|
| 113 | + * @return MetatagTrait Chainable |
|
| 114 | 114 | */ |
| 115 | 115 | public function setMetaDescription($description) |
| 116 | 116 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * @param mixed $image The meta image (localized). |
| 134 | - * @return MetatagInterface Chainable |
|
| 134 | + * @return MetatagTrait Chainable |
|
| 135 | 135 | */ |
| 136 | 136 | public function setMetaImage($image) |
| 137 | 137 | { |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | |
| 153 | 153 | /** |
| 154 | 154 | * @param mixed $author The meta author (localized). |
| 155 | - * @return MetatagInterface Chainable |
|
| 155 | + * @return MetatagTrait Chainable |
|
| 156 | 156 | */ |
| 157 | 157 | public function setMetaAuthor($author) |
| 158 | 158 | { |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | 181 | * @param string $appId The facebook App ID (numeric string). |
| 182 | - * @return MetatagInterface Chainable |
|
| 182 | + * @return MetatagTrait Chainable |
|
| 183 | 183 | */ |
| 184 | 184 | public function setFacebookAppId($appId) |
| 185 | 185 | { |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | |
| 198 | 198 | /** |
| 199 | 199 | * @param mixed $title The opengraph title (localized). |
| 200 | - * @return MetatagInterface Chainable |
|
| 200 | + * @return MetatagTrait Chainable |
|
| 201 | 201 | */ |
| 202 | 202 | public function setOpengraphTitle($title) |
| 203 | 203 | { |
@@ -222,7 +222,7 @@ discard block |
||
| 222 | 222 | |
| 223 | 223 | /** |
| 224 | 224 | * @param mixed $siteName The site name (localized). |
| 225 | - * @return MetatagInterface Chainable |
|
| 225 | + * @return MetatagTrait Chainable |
|
| 226 | 226 | */ |
| 227 | 227 | public function setOpengraphSiteName($siteName) |
| 228 | 228 | { |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | |
| 241 | 241 | /** |
| 242 | 242 | * @param mixed $description The opengraph description (localized). |
| 243 | - * @return MetatagInterface Chainable |
|
| 243 | + * @return MetatagTrait Chainable |
|
| 244 | 244 | */ |
| 245 | 245 | public function setOpengraphDescription($description) |
| 246 | 246 | { |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | |
| 262 | 262 | /** |
| 263 | 263 | * @param string $type The opengraph type. |
| 264 | - * @return MetatagInterface Chainable |
|
| 264 | + * @return MetatagTrait Chainable |
|
| 265 | 265 | */ |
| 266 | 266 | public function setOpengraphType($type) |
| 267 | 267 | { |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | |
| 280 | 280 | /** |
| 281 | 281 | * @param mixed $image The opengraph image (localized). |
| 282 | - * @return MetatagInterface Chainable |
|
| 282 | + * @return MetatagTrait Chainable |
|
| 283 | 283 | */ |
| 284 | 284 | public function setOpengraphImage($image) |
| 285 | 285 | { |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | |
| 301 | 301 | /** |
| 302 | 302 | * @param mixed $author The opengraph author (localized). |
| 303 | - * @return MetatagInterface Chainable |
|
| 303 | + * @return MetatagTrait Chainable |
|
| 304 | 304 | */ |
| 305 | 305 | public function setOpengraphAuthor($author) |
| 306 | 306 | { |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | |
| 322 | 322 | /** |
| 323 | 323 | * @param mixed $publisher The opengraph publisher (localized). |
| 324 | - * @return MetatagInterface Chainable |
|
| 324 | + * @return MetatagTrait Chainable |
|
| 325 | 325 | */ |
| 326 | 326 | public function setOpengraphPulisher($publisher) |
| 327 | 327 | { |
@@ -9,11 +9,11 @@ |
||
| 9 | 9 | */ |
| 10 | 10 | final class Text extends AbstractText |
| 11 | 11 | { |
| 12 | - /** |
|
| 13 | - * CategorizableTrait > categoryType() |
|
| 14 | - * |
|
| 15 | - * @return string |
|
| 16 | - */ |
|
| 12 | + /** |
|
| 13 | + * CategorizableTrait > categoryType() |
|
| 14 | + * |
|
| 15 | + * @return string |
|
| 16 | + */ |
|
| 17 | 17 | public function categoryType() |
| 18 | 18 | { |
| 19 | 19 | return 'charcoal/cms/text-category'; |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | 75 | * @param mixed $title The event title (localized). |
| 76 | - * @return TranslationString |
|
| 76 | + * @return AbstractEvent |
|
| 77 | 77 | */ |
| 78 | 78 | public function setTitle($title) |
| 79 | 79 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | |
| 128 | 128 | /** |
| 129 | 129 | * @param mixed $image The section main image (localized). |
| 130 | - * @return Section Chainable |
|
| 130 | + * @return AbstractEvent Chainable |
|
| 131 | 131 | */ |
| 132 | 132 | public function setImage($image) |
| 133 | 133 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | /** |
| 147 | 147 | * @param string|DateTime $startDate Event starting date. |
| 148 | 148 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 149 | - * @return EventInterface Chainable |
|
| 149 | + * @return AbstractEvent Chainable |
|
| 150 | 150 | */ |
| 151 | 151 | public function setStartDate($startDate) |
| 152 | 152 | { |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @return DateTime|null |
|
| 170 | + * @return DateTime |
|
| 171 | 171 | */ |
| 172 | 172 | public function startDate() |
| 173 | 173 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | /** |
| 178 | 178 | * @param string|DateTime $endDate Event end date. |
| 179 | 179 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 180 | - * @return EventInterface Chainable |
|
| 180 | + * @return AbstractEvent Chainable |
|
| 181 | 181 | */ |
| 182 | 182 | public function setEndDate($endDate) |
| 183 | 183 | { |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | } |
| 199 | 199 | |
| 200 | 200 | /** |
| 201 | - * @return DateTime|null |
|
| 201 | + * @return DateTime |
|
| 202 | 202 | */ |
| 203 | 203 | public function endDate() |
| 204 | 204 | { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | |
| 208 | 208 | /** |
| 209 | 209 | * @param mixed $template The section template (ident). |
| 210 | - * @return SectionInterface Chainable |
|
| 210 | + * @return AbstractEvent Chainable |
|
| 211 | 211 | */ |
| 212 | 212 | public function setTemplateIdent($template) |
| 213 | 213 | { |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | |
| 230 | 230 | /** |
| 231 | 231 | * @param array|string $templateOptions Extra template options, if any. |
| 232 | - * @return SectionInterface Chainable |
|
| 232 | + * @return AbstractEvent Chainable |
|
| 233 | 233 | */ |
| 234 | 234 | public function setTemplateOptions($templateOptions) |
| 235 | 235 | { |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @param mixed $title The news title (localized). |
| 79 | - * @return TranslationString |
|
| 79 | + * @return AbstractNews |
|
| 80 | 80 | */ |
| 81 | 81 | public function setTitle($title) |
| 82 | 82 | { |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | 96 | * @param mixed $subtitle The news subtitle (localized). |
| 97 | - * @return Event Chainable |
|
| 97 | + * @return AbstractNews Chainable |
|
| 98 | 98 | */ |
| 99 | 99 | public function setSubtitle($subtitle) |
| 100 | 100 | { |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * @param mixed $content The news content (localized). |
| 115 | - * @return Event Chainable |
|
| 115 | + * @return AbstractNews Chainable |
|
| 116 | 116 | */ |
| 117 | 117 | public function setContent($content) |
| 118 | 118 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | 132 | * @param mixed $image The section main image (localized). |
| 133 | - * @return Section Chainable |
|
| 133 | + * @return AbstractNews Chainable |
|
| 134 | 134 | */ |
| 135 | 135 | public function setImage($image) |
| 136 | 136 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | |
| 149 | 149 | /** |
| 150 | 150 | * @param mixed $template The section template (ident). |
| 151 | - * @return SectionInterface Chainable |
|
| 151 | + * @return AbstractNews Chainable |
|
| 152 | 152 | */ |
| 153 | 153 | public function setTemplateIdent($template) |
| 154 | 154 | { |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | |
| 171 | 171 | /** |
| 172 | 172 | * @param array|string $templateOptions Extra template options, if any. |
| 173 | - * @return SectionInterface Chainable |
|
| 173 | + * @return AbstractNews Chainable |
|
| 174 | 174 | */ |
| 175 | 175 | public function setTemplateOptions($templateOptions) |
| 176 | 176 | { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | /** |
| 194 | 194 | * @param mixed $newsDate The news date. |
| 195 | 195 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 196 | - * @return ObjectRevision Chainable |
|
| 196 | + * @return AbstractNews Chainable |
|
| 197 | 197 | */ |
| 198 | 198 | public function setNewsDate($newsDate) |
| 199 | 199 | { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | } |
| 215 | 215 | |
| 216 | 216 | /** |
| 217 | - * @return DateTime|null |
|
| 217 | + * @return DateTime |
|
| 218 | 218 | */ |
| 219 | 219 | public function newsDate() |
| 220 | 220 | { |
@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | * @param RequestInterface $request PSR-7 (http) request. |
| 258 | 258 | * @param ResponseInterface $response PSR-7 (http) response. |
| 259 | 259 | * @throws InvalidArgumentException If the path is not a string. |
| 260 | - * @return callable|null Route dispatcher |
|
| 260 | + * @return \Closure|null Route dispatcher |
|
| 261 | 261 | */ |
| 262 | 262 | public function routeHandler($path, RequestInterface $request, ResponseInterface $response) |
| 263 | 263 | { |