Passed
Push — master ( bf7a21...ee7d68 )
by Mikael
01:38
created
src/TextFilter/TShortcode.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -240,7 +240,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/TextFilter/TTextUtilities.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/TextFilter/TextFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.