Completed
Pull Request — master (#545)
by Richard
09:25
created
htdocs/class/libraries/vendor/symfony/yaml/Inline.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -275,6 +275,7 @@
 block discarded – undo
275 275
      *
276 276
      * @param string $scalar
277 277
      * @param int    &$i
278
+     * @param integer $i
278 279
      *
279 280
      * @return string
280 281
      *
Please login to merge, or discard this patch.
htdocs/class/textsanitizer/wiki/wiki.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * @param $textarea_id
31 31
      *
32
-     * @return array
32
+     * @return string[]
33 33
      */
34 34
     public function encode($textarea_id)
35 35
     {
@@ -90,6 +90,8 @@  discard block
 block discarded – undo
90 90
 
91 91
     /**
92 92
      * @param $text
93
+     * @param integer $width
94
+     * @param integer $height
93 95
      *
94 96
      * @return string
95 97
      */
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/CSS.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      * @param string $css
19 19
      * @param HTMLPurifier_Config $config
20 20
      * @param HTMLPurifier_Context $context
21
-     * @return bool|string
21
+     * @return string|false
22 22
      */
23 23
     public function validate($css, $config, $context)
24 24
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Lexer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -173,6 +173,10 @@  discard block
 block discarded – undo
173 173
         return $this->parseData($string, false, $config);
174 174
     }
175 175
 
176
+    /**
177
+     * @param string $string
178
+     * @param HTMLPurifier_Config $config
179
+     */
176 180
     public function parseAttr($string, $config) {
177 181
         return $this->parseData($string, true, $config);
178 182
     }
@@ -184,6 +188,7 @@  discard block
 block discarded – undo
184 188
      * into the correct ones.
185 189
      *
186 190
      * @param string $string String character data to be parsed.
191
+     * @param boolean $is_attr
187 192
      * @return string Parsed character data.
188 193
      */
189 194
     public function parseData($string, $is_attr, $config)
@@ -361,6 +366,7 @@  discard block
 block discarded – undo
361 366
     /**
362 367
      * Takes a string of HTML (fragment or document) and returns the content
363 368
      * @todo Consider making protected
369
+     * @param string $html
364 370
      */
365 371
     public function extractBody($html)
366 372
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Lexer/DOMLex.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
94 94
      * To iterate is human, to recurse divine - L. Peter Deutsch
95 95
      * @param DOMNode $node DOMNode to be tokenized.
96 96
      * @param HTMLPurifier_Token[] $tokens   Array-list of already tokenized tokens.
97
+     * @param HTMLPurifier_Config $config
97 98
      * @return HTMLPurifier_Token of node appended to previously passed tokens.
98 99
      */
99 100
     protected function tokenizeDOM($node, &$tokens, $config)
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/paragonie/random_compat/lib/random.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -202,8 +202,8 @@
 block discarded – undo
202 202
          * We don't have any more options, so let's throw an exception right now
203 203
          * and hope the developer won't let it fail silently.
204 204
          *
205
-         * @param mixed $length
206
-         * @return void
205
+         * @param integer $length
206
+         * @return string
207 207
          * @throws Exception
208 208
          */
209 209
         function random_bytes($length)
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/symfony/polyfill-mbstring/bootstrap.php 1 patch
Doc Comments   +42 added lines patch added patch discarded remove patch
@@ -20,28 +20,70 @@
 block discarded – undo
20 20
     function mb_decode_mimeheader($s) { return p\Mbstring::mb_decode_mimeheader($s); }
21 21
     function mb_encode_mimeheader($s, $charset = null, $transferEnc = null, $lf = null, $indent = null) { return p\Mbstring::mb_encode_mimeheader($s, $charset, $transferEnc, $lf, $indent); }
22 22
     function mb_convert_case($s, $mode, $enc = null) { return p\Mbstring::mb_convert_case($s, $mode, $enc); }
23
+
24
+    /**
25
+     * @param string|boolean $enc
26
+     */
23 27
     function mb_internal_encoding($enc = null) { return p\Mbstring::mb_internal_encoding($enc); }
24 28
     function mb_language($lang = null) { return p\Mbstring::mb_language($lang); }
25 29
     function mb_list_encodings() { return p\Mbstring::mb_list_encodings(); }
26 30
     function mb_encoding_aliases($encoding) { return p\Mbstring::mb_encoding_aliases($encoding); }
31
+
32
+    /**
33
+     * @param string $var
34
+     * @param string $encoding
35
+     */
27 36
     function mb_check_encoding($var = null, $encoding = null) { return p\Mbstring::mb_check_encoding($var, $encoding); }
28 37
     function mb_detect_encoding($str, $encodingList = null, $strict = false) { return p\Mbstring::mb_detect_encoding($str, $encodingList, $strict); }
29 38
     function mb_detect_order($encodingList = null) { return p\Mbstring::mb_detect_order($encodingList); }
30 39
     function mb_parse_str($s, &$result = array()) { parse_str($s, $result); }
40
+
41
+    /**
42
+     * @param string $enc
43
+     */
31 44
     function mb_strlen($s, $enc = null) { return p\Mbstring::mb_strlen($s, $enc); }
45
+
46
+    /**
47
+     * @param string $s
48
+     * @param string $needle
49
+     * @param string $enc
50
+     */
32 51
     function mb_strpos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strpos($s, $needle, $offset, $enc); }
52
+
53
+    /**
54
+     * @param string $s
55
+     * @param string $enc
56
+     */
33 57
     function mb_strtolower($s, $enc = null) { return p\Mbstring::mb_strtolower($s, $enc); }
34 58
     function mb_strtoupper($s, $enc = null) { return p\Mbstring::mb_strtoupper($s, $enc); }
35 59
     function mb_substitute_character($char = null) { return p\Mbstring::mb_substitute_character($char); }
60
+
61
+    /**
62
+     * @param string $enc
63
+     */
36 64
     function mb_substr($s, $start, $length = 2147483647, $enc = null) { return p\Mbstring::mb_substr($s, $start, $length, $enc); }
65
+
66
+    /**
67
+     * @param string $enc
68
+     */
37 69
     function mb_stripos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_stripos($s, $needle, $offset, $enc); }
38 70
     function mb_stristr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_stristr($s, $needle, $part, $enc); }
39 71
     function mb_strrchr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strrchr($s, $needle, $part, $enc); }
40 72
     function mb_strrichr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strrichr($s, $needle, $part, $enc); }
41 73
     function mb_strripos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strripos($s, $needle, $offset, $enc); }
74
+
75
+    /**
76
+     * @param string $s
77
+     * @param string $needle
78
+     * @param string $enc
79
+     */
42 80
     function mb_strrpos($s, $needle, $offset = 0, $enc = null) { return p\Mbstring::mb_strrpos($s, $needle, $offset, $enc); }
43 81
     function mb_strstr($s, $needle, $part = false, $enc = null) { return p\Mbstring::mb_strstr($s, $needle, $part, $enc); }
44 82
     function mb_get_info($type = 'all') { return p\Mbstring::mb_get_info($type); }
83
+
84
+    /**
85
+     * @param string $enc
86
+     */
45 87
     function mb_http_output($enc = null) { return p\Mbstring::mb_http_output($enc); }
46 88
     function mb_strwidth($s, $enc = null) { return p\Mbstring::mb_strwidth($s, $enc); }
47 89
     function mb_substr_count($haystack, $needle, $enc = null) { return p\Mbstring::mb_substr_count($haystack, $needle, $enc); }
Please login to merge, or discard this patch.