Completed
Pull Request — master (#525)
by Richard
12:32
created
htdocs/class/libraries/vendor/kint-php/kint/inc/kintVariableData.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
 		}
91 91
 	}
92 92
 
93
+	/**
94
+	 * @param integer $start
95
+	 */
93 96
 	protected static function _substr( $string, $start, $end, $encoding = null )
94 97
 	{
95 98
 		if ( function_exists( 'mb_substr' ) ) {
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/kint-php/kint/Kint.class.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	 *
108 108
 	 * @param array $trace [OPTIONAL] you can pass your own trace, otherwise, `debug_backtrace` will be called
109 109
 	 *
110
-	 * @return mixed
110
+	 * @return string|null
111 111
 	 */
112 112
 	public static function trace( $trace = null )
113 113
 	{
@@ -305,6 +305,9 @@  discard block
 block discarded – undo
305 305
 		return $shortenedName;
306 306
 	}
307 307
 
308
+	/**
309
+	 * @return string
310
+	 */
308 311
 	public static function getIdeLink( $file, $line )
309 312
 	{
310 313
 		return str_replace( array( '%f', '%l' ), array( $file, $line ), self::$fileLinkFormat );
@@ -317,7 +320,7 @@  discard block
 block discarded – undo
317 320
 	 * @param int    $lineNumber the line to display
318 321
 	 * @param int    $padding surrounding lines to show besides the main one
319 322
 	 *
320
-	 * @return bool|string
323
+	 * @return false|string
321 324
 	 */
322 325
 	private static function _showSource( $file, $lineNumber, $padding = 7 )
323 326
 	{
@@ -590,7 +593,7 @@  discard block
 block discarded – undo
590 593
 	 *
591 594
 	 * @param $step
592 595
 	 *
593
-	 * @return array
596
+	 * @return boolean
594 597
 	 */
595 598
 	private static function _stepIsInternal( $step )
596 599
 	{
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/kint-php/kint/parsers/custom/color.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -195,6 +195,7 @@
 block discarded – undo
195 195
 
196 196
 	/**
197 197
 	 * Helper function for _color_hsl2rgb().
198
+	 * @param double $h
198 199
 	 */
199 200
 	private static function _hue2rgb( $m1, $m2, $h )
200 201
 	{
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/symfony/yaml/Parser.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -274,6 +274,12 @@  discard block
 block discarded – undo
274 274
         return empty($data) ? null : $data;
275 275
     }
276 276
 
277
+    /**
278
+     * @param integer $offset
279
+     * @param boolean $exceptionOnInvalidType
280
+     * @param boolean $objectSupport
281
+     * @param boolean $objectForMap
282
+     */
277 283
     private function parseBlock($offset, $yaml, $exceptionOnInvalidType, $objectSupport, $objectForMap)
278 284
     {
279 285
         $skippedLineNumbers = $this->skippedLineNumbers;
@@ -792,6 +798,7 @@  discard block
 block discarded – undo
792 798
      * @see preg_last_error()
793 799
      *
794 800
      * @internal
801
+     * @param string $pattern
795 802
      */
796 803
     public static function preg_match($pattern, $subject, &$matches = null, $flags = 0, $offset = 0)
797 804
     {
Please login to merge, or discard this patch.
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.