@@ -240,7 +240,6 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Shortcode for [asciinema]. |
242 | 242 | * |
243 | - * @param string $code the code to process. |
|
244 | 243 | * @param string $options for the shortcode. |
245 | 244 | * @return array with all the options. |
246 | 245 | */ |
@@ -278,9 +277,8 @@ discard block |
||
278 | 277 | /** |
279 | 278 | * Shortcode for [book]. |
280 | 279 | * |
281 | - * @param string $code the code to process. |
|
282 | 280 | * @param string $options for the shortcode. |
283 | - * @return array with all the options. |
|
281 | + * @return string with all the options. |
|
284 | 282 | */ |
285 | 283 | public static function shortCodeBook($options) |
286 | 284 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | * @param string $end wrap end part |
55 | 55 | * @param number $count hits to search for |
56 | 56 | * |
57 | - * @return array with text and boolean if more was detected. |
|
57 | + * @return string with text and boolean if more was detected. |
|
58 | 58 | */ |
59 | 59 | public function wrapElementWithStartEnd($text, $tag, $start, $end, $count) |
60 | 60 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | * @param string $end wrap end part |
78 | 78 | * @param number $count hits to search for |
79 | 79 | * |
80 | - * @return array with text and boolean if more was detected. |
|
80 | + * @return string with text and boolean if more was detected. |
|
81 | 81 | */ |
82 | 82 | public function wrapElementContentWithStartEnd($text, $tag, $start, $end, $count) |
83 | 83 | { |
@@ -243,7 +243,7 @@ |
||
243 | 243 | * |
244 | 244 | * @throws mos/TextFilter/Exception when filterd does not exists. |
245 | 245 | * |
246 | - * @return array with the formatted text and additional details. |
|
246 | + * @return \stdClass with the formatted text and additional details. |
|
247 | 247 | */ |
248 | 248 | public function parse($text, $filter) |
249 | 249 | { |