@@ -134,7 +134,7 @@ |
||
| 134 | 134 | } |
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | - * @param mixed $subbtitle |
|
| 137 | + * @param mixed $subtitle |
|
| 138 | 138 | * @return Section Chainable |
| 139 | 139 | */ |
| 140 | 140 | public function set_subtitle($subtitle) |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | /** |
| 122 | 122 | * @param mixed $title |
| 123 | - * @return TranslationString |
|
| 123 | + * @return AbstractSection |
|
| 124 | 124 | */ |
| 125 | 125 | public function set_title($title) |
| 126 | 126 | { |
@@ -137,8 +137,8 @@ discard block |
||
| 137 | 137 | } |
| 138 | 138 | |
| 139 | 139 | /** |
| 140 | - * @param mixed $subbtitle |
|
| 141 | - * @return Section Chainable |
|
| 140 | + * @param mixed $subtitle |
|
| 141 | + * @return AbstractSection Chainable |
|
| 142 | 142 | */ |
| 143 | 143 | public function set_subtitle($subtitle) |
| 144 | 144 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | 91 | * @param mixed $title |
| 92 | - * @return TranslationString |
|
| 92 | + * @return Event |
|
| 93 | 93 | */ |
| 94 | 94 | public function set_title($title) |
| 95 | 95 | { |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * @param mixed $subbtitle |
|
| 109 | + * @param mixed $subtitle |
|
| 110 | 110 | * @return Event Chainable |
| 111 | 111 | */ |
| 112 | 112 | public function set_subtitle($subtitle) |
@@ -189,7 +189,7 @@ discard block |
||
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | /** |
| 192 | - * @return DateTime|null |
|
| 192 | + * @return DateTime |
|
| 193 | 193 | */ |
| 194 | 194 | public function start_date() |
| 195 | 195 | { |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | } |
| 226 | 226 | |
| 227 | 227 | /** |
| 228 | - * @return DateTime|null |
|
| 228 | + * @return DateTime |
|
| 229 | 229 | */ |
| 230 | 230 | public function end_date() |
| 231 | 231 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @return TranslationString|null |
|
| 54 | + * @return TranslationString |
|
| 55 | 55 | */ |
| 56 | 56 | public function question() |
| 57 | 57 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @return TranslationString|null |
|
| 72 | + * @return TranslationString |
|
| 73 | 73 | */ |
| 74 | 74 | public function answer() |
| 75 | 75 | { |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | public function set_searchable_data(array $data); |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | - * @param array $_search_properties |
|
| 17 | + * @param array $properties |
|
| 18 | 18 | * @return SearchableInterface Chainable |
| 19 | 19 | */ |
| 20 | 20 | public function set_search_properties(array $properties); |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | public function set_search_keywords($keywords); |
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | - * @return TranslationString |
|
| 34 | + * @return \Charcoal\Translation\TranslationString |
|
| 35 | 35 | */ |
| 36 | 36 | public function search_keywords(); |
| 37 | 37 | } |
@@ -34,8 +34,8 @@ discard block |
||
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | - * @param array $search_properties |
|
| 38 | - * @return SearchableInterface Chainable |
|
| 37 | + * @param array $properties |
|
| 38 | + * @return SearchableTrait Chainable |
|
| 39 | 39 | */ |
| 40 | 40 | public function set_search_properties(array $properties) |
| 41 | 41 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @param mixed $keywords |
| 56 | - * @return SearchableInterface Chainable |
|
| 56 | + * @return SearchableTrait Chainable |
|
| 57 | 57 | */ |
| 58 | 58 | public function set_search_keywords($keywords) |
| 59 | 59 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * @param mixed $content |
| 20 | - * @return Section Chainable |
|
| 20 | + * @return ContentSection Chainable |
|
| 21 | 21 | */ |
| 22 | 22 | public function set_content($content) |
| 23 | 23 | { |
@@ -171,7 +171,7 @@ |
||
| 171 | 171 | ); |
| 172 | 172 | } |
| 173 | 173 | $match_path = $path == 'xxx'; // Insert logic here... |
| 174 | - if($match_path) { |
|
| 174 | + if ($match_path) { |
|
| 175 | 175 | return function(RequestInterface $request, ResponseInterface $response) use ($path) { |
| 176 | 176 | $response->write($path); |
| 177 | 177 | }; |
@@ -95,7 +95,7 @@ discard block |
||
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * @param mixed $title |
| 98 | - * @return TranslationString |
|
| 98 | + * @return News |
|
| 99 | 99 | */ |
| 100 | 100 | public function setTitle($title) |
| 101 | 101 | { |
@@ -112,8 +112,8 @@ discard block |
||
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | - * @param mixed $subbtitle |
|
| 116 | - * @return Event Chainable |
|
| 115 | + * @param mixed $subtitle |
|
| 116 | + * @return News Chainable |
|
| 117 | 117 | */ |
| 118 | 118 | public function setSubtitle($subtitle) |
| 119 | 119 | { |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | 133 | * @param mixed $content |
| 134 | - * @return Event Chainable |
|
| 134 | + * @return News Chainable |
|
| 135 | 135 | */ |
| 136 | 136 | public function setContent($content) |
| 137 | 137 | { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | /** |
| 151 | 151 | * @param mixed $newsDate The news date. |
| 152 | 152 | * @throws InvalidArgumentException If the timestamp is invalid. |
| 153 | - * @return ObjectRevision Chainable |
|
| 153 | + * @return News Chainable |
|
| 154 | 154 | */ |
| 155 | 155 | public function setNewsDate($newsDate) |
| 156 | 156 | { |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | } |
| 172 | 172 | |
| 173 | 173 | /** |
| 174 | - * @return DateTime|null |
|
| 174 | + * @return DateTime |
|
| 175 | 175 | */ |
| 176 | 176 | public function newsDate() |
| 177 | 177 | { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * @param RequestInterface $request |
| 208 | 208 | * @param ResponseInterface $response |
| 209 | 209 | * @throws InvalidArgumentException |
| 210 | - * @return callable|null Route dispatcher |
|
| 210 | + * @return \Closure|null Route dispatcher |
|
| 211 | 211 | */ |
| 212 | 212 | public function routeHandler($path, RequestInterface $request, ResponseInterface $response) |
| 213 | 213 | { |