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