Test Failed
Push — master ( 2a5a24...724d17 )
by Mikael
11:58
created
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/CTextFilter.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      *
241 241
      * @throws mos/TextFilter/Exception  when filterd does not exists.
242 242
      *
243
-     * @return array with the formatted text and additional details.
243
+     * @return \stdClass with the formatted text and additional details.
244 244
      */
245 245
     public function parse($text, $filter)
246 246
     {
@@ -263,6 +263,7 @@  discard block
 block discarded – undo
263 263
      * Add excerpt as short version of text if available.
264 264
      *
265 265
      * @param object &$current same structure as returned by parse().
266
+     * @param \stdClass $current
266 267
      *
267 268
      * @return void.
268 269
      */
Please login to merge, or discard this patch.
src/TextFilter/TShortcode.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -221,7 +221,6 @@  discard block
 block discarded – undo
221 221
     /**
222 222
      * Shortcode for [asciinema].
223 223
      *
224
-     * @param string $code the code to process.
225 224
      * @param string $options for the shortcode.
226 225
      * @return array with all the options.
227 226
      */
@@ -259,9 +258,8 @@  discard block
 block discarded – undo
259 258
     /**
260 259
      * Shortcode for [book].
261 260
      *
262
-     * @param string $code the code to process.
263 261
      * @param string $options for the shortcode.
264
-     * @return array with all the options.
262
+     * @return string with all the options.
265 263
      */
266 264
     public static function shortCodeBook($options)
267 265
     {
Please login to merge, or discard this patch.