@@ -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'; |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * @param mixed $title The event title (localized). |
| 78 | - * @return TranslationString |
|
| 78 | + * @return AbstractEvent |
|
| 79 | 79 | */ |
| 80 | 80 | public function setTitle($title) |
| 81 | 81 | { |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | 131 | * @param mixed $image The section main image (localized). |
| 132 | - * @return Section Chainable |
|
| 132 | + * @return AbstractEvent Chainable |
|
| 133 | 133 | */ |
| 134 | 134 | public function setImage($image) |
| 135 | 135 | { |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | /** |
| 149 | 149 | * @param string|DateTime $startDate Event starting date. |
| 150 | 150 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 151 | - * @return EventInterface Chainable |
|
| 151 | + * @return AbstractEvent Chainable |
|
| 152 | 152 | */ |
| 153 | 153 | public function setStartDate($startDate) |
| 154 | 154 | { |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | /** |
| 172 | - * @return DateTime|null |
|
| 172 | + * @return DateTime |
|
| 173 | 173 | */ |
| 174 | 174 | public function startDate() |
| 175 | 175 | { |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | /** |
| 180 | 180 | * @param string|DateTime $endDate Event end date. |
| 181 | 181 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 182 | - * @return EventInterface Chainable |
|
| 182 | + * @return AbstractEvent Chainable |
|
| 183 | 183 | */ |
| 184 | 184 | public function setEndDate($endDate) |
| 185 | 185 | { |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | } |
| 201 | 201 | |
| 202 | 202 | /** |
| 203 | - * @return DateTime|null |
|
| 203 | + * @return DateTime |
|
| 204 | 204 | */ |
| 205 | 205 | public function endDate() |
| 206 | 206 | { |
@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | * @param RequestInterface $request PSR-7 (http) request. |
| 215 | 215 | * @param ResponseInterface $response PSR-7 (http) response. |
| 216 | 216 | * @throws InvalidArgumentException If the path is not a string. |
| 217 | - * @return callable|null Route dispatcher |
|
| 217 | + * @return \Closure|null Route dispatcher |
|
| 218 | 218 | */ |
| 219 | 219 | public function routeHandler($path, RequestInterface $request, ResponseInterface $response) |
| 220 | 220 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | /** |
| 85 | 85 | * @param mixed $title The news title (localized). |
| 86 | - * @return TranslationString |
|
| 86 | + * @return AbstractNews |
|
| 87 | 87 | */ |
| 88 | 88 | public function setTitle($title) |
| 89 | 89 | { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | |
| 102 | 102 | /** |
| 103 | 103 | * @param mixed $subtitle The news subtitle (localized). |
| 104 | - * @return Event Chainable |
|
| 104 | + * @return AbstractNews Chainable |
|
| 105 | 105 | */ |
| 106 | 106 | public function setSubtitle($subtitle) |
| 107 | 107 | { |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | 121 | * @param mixed $content The news content (localized). |
| 122 | - * @return Event Chainable |
|
| 122 | + * @return AbstractNews Chainable |
|
| 123 | 123 | */ |
| 124 | 124 | public function setContent($content) |
| 125 | 125 | { |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | |
| 138 | 138 | /** |
| 139 | 139 | * @param mixed $image The section main image (localized). |
| 140 | - * @return Section Chainable |
|
| 140 | + * @return AbstractNews Chainable |
|
| 141 | 141 | */ |
| 142 | 142 | public function setImage($image) |
| 143 | 143 | { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | /** |
| 157 | 157 | * @param mixed $newsDate The news date. |
| 158 | 158 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 159 | - * @return ObjectRevision Chainable |
|
| 159 | + * @return AbstractNews Chainable |
|
| 160 | 160 | */ |
| 161 | 161 | public function setNewsDate($newsDate) |
| 162 | 162 | { |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | } |
| 178 | 178 | |
| 179 | 179 | /** |
| 180 | - * @return DateTime|null |
|
| 180 | + * @return DateTime |
|
| 181 | 181 | */ |
| 182 | 182 | public function newsDate() |
| 183 | 183 | { |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | * @param RequestInterface $request PSR-7 (http) request. |
| 221 | 221 | * @param ResponseInterface $response PSR-7 (http) response. |
| 222 | 222 | * @throws InvalidArgumentException If the path is not a string. |
| 223 | - * @return callable|null Route dispatcher |
|
| 223 | + * @return \Closure|null Route dispatcher |
|
| 224 | 224 | */ |
| 225 | 225 | public function routeHandler($path, RequestInterface $request, ResponseInterface $response) |
| 226 | 226 | { |