Completed
Push — master ( 640397...4ec2f8 )
by Mikael
02:52
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/Filter/Variable.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,6 @@
 block discarded – undo
66 66
     /**
67 67
      * Detect and extract inline variables.
68 68
      *
69
-     * @param string $text to parse.
70 69
      *
71 70
      * @return boolean|void true when block is found and parsed, else void.
72 71
      *
Please login to merge, or discard this patch.
src/TextFilter/TextFilter.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,7 +129,6 @@  discard block
 block discarded – undo
129 129
      * Get configuration for a certain filter.
130 130
      *
131 131
      * @param string $filter the label of the filter to get configuration for.
132
-     * @param array  $config the configuration as an array.
133 132
      *
134 133
      * @return array the configuration as an array or empty array.
135 134
      */
@@ -309,7 +308,7 @@  discard block
 block discarded – undo
309 308
      *
310 309
      * @throws Anax\TextFilter\Exception  when filter does not exists.
311 310
      *
312
-     * @return array with the formatted text and additional details.
311
+     * @return \stdClass with the formatted text and additional details.
313 312
      */
314 313
     public function parse($text, $filter)
315 314
     {
Please login to merge, or discard this patch.