Completed
Pull Request — master (#555)
by Lucio
09:45
created
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Config.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
      *
292 292
      * @param string $key key
293 293
      * @param mixed $value value
294
-     * @param mixed $a
294
+     * @param string $a
295 295
      */
296 296
     public function set($key, $value, $a = null)
297 297
     {
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
      * @param bool $mq_fix Boolean whether or not to enable magic quotes fix
764 764
      * @param HTMLPurifier_ConfigSchema $schema Schema to use, if not global copy
765 765
      *
766
-     * @return mixed
766
+     * @return HTMLPurifier_Config
767 767
      */
768 768
     public static function loadArrayFromForm($array, $index = false, $allowed = true, $mq_fix = true, $schema = null)
769 769
     {
Please login to merge, or discard this patch.
xoops_lib/modules/protector/library/HTMLPurifier/DefinitionCacheFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * Registers a decorator to add to all new cache objects
94
-     * @param HTMLPurifier_DefinitionCache_Decorator|string $decorator An instance or the name of a decorator
94
+     * @param string $decorator An instance or the name of a decorator
95 95
      */
96 96
     public function addDecorator($decorator)
97 97
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/DoctypeRegistry.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
      *       parameters for constructing a doctype object
22 22
      * @param string $doctype Name of doctype or literal doctype object
23 23
      * @param bool $xml
24
-     * @param array $modules Modules doctype will load
25
-     * @param array $tidy_modules Modules doctype will load for certain modes
24
+     * @param string[] $modules Modules doctype will load
25
+     * @param string[] $tidy_modules Modules doctype will load for certain modes
26 26
      * @param array $aliases Alias names for doctype
27 27
      * @param string $dtd_public
28 28
      * @param string $dtd_system
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Encoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -351,7 +351,7 @@
 block discarded – undo
351 351
     }
352 352
 
353 353
     /**
354
-     * @return bool
354
+     * @return boolean|null
355 355
      */
356 356
     public static function iconvAvailable()
357 357
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -451,7 +451,7 @@
 block discarded – undo
451 451
      * separate lists for processing. Format is element[attr1|attr2],element2...
452 452
      * @warning Although it's largely drawn from TinyMCE's implementation,
453 453
      *      it is different, and you'll probably have to modify your lists
454
-     * @param array $list String list to parse
454
+     * @param string $list String list to parse
455 455
      * @return array
456 456
      * @todo Give this its own class, probably static interface
457 457
      */
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/HTMLModule.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * the HTMLPurifier_ElementDef class. There is a similar function
119 119
      * in HTMLPurifier_HTMLDefinition.
120 120
      * @param HTMLPurifier_ElementDef $def
121
-     * @return HTMLPurifier_ChildDef subclass
121
+     * @return boolean subclass
122 122
      */
123 123
     public function getChildDef($def)
124 124
     {
Please login to merge, or discard this patch.
xoops_lib/modules/protector/library/HTMLPurifier/HTMLModuleManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -205,6 +205,7 @@
 block discarded – undo
205 205
     /**
206 206
      * Adds a module to the current doctype by first registering it,
207 207
      * and then tacking it on to the active doctype
208
+     * @param HTMLPurifier_HTMLModule $module
208 209
      */
209 210
     public function addModule($module)
210 211
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Injector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * deleted a node, and now need to see if this change affected any
66 66
      * earlier nodes. Rewinding does not affect other injectors, and can
67 67
      * result in infinite loops if not used carefully.
68
-     * @param bool|int $offset
68
+     * @param integer $offset
69 69
      * @warning HTML Purifier will prevent you from fast-forwarding with this
70 70
      *          function.
71 71
      */
Please login to merge, or discard this patch.
xoops_lib/modules/protector/library/HTMLPurifier/Injector/AutoParagraph.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
      * Determines if a particular token requires an earlier inline token
329 329
      * to get a paragraph. This should be used with _forwardUntilEndToken
330 330
      * @param HTMLPurifier_Token $current
331
-     * @return bool
331
+     * @return boolean|null
332 332
      */
333 333
     private function _checkNeedsP($current)
334 334
     {
Please login to merge, or discard this patch.