@@ -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 | { |
@@ -210,7 +210,7 @@ discard block |
||
210 | 210 | * |
211 | 211 | * @throws mos/TextFilter/Exception when filterd does not exists. |
212 | 212 | * |
213 | - * @return array with the formatted text and additional details. |
|
213 | + * @return \stdClass with the formatted text and additional details. |
|
214 | 214 | */ |
215 | 215 | public function parse($text, $filter) |
216 | 216 | { |
@@ -637,7 +637,6 @@ discard block |
||
637 | 637 | /** |
638 | 638 | * Shortcode for [asciinema]. |
639 | 639 | * |
640 | - * @param string $code the code to process. |
|
641 | 640 | * @param string $options for the shortcode. |
642 | 641 | * @return array with all the options. |
643 | 642 | */ |