Completed
Push — master ( e162f1...95ce61 )
by Richard
13s
created
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.