Completed
Push — master ( 3439f1...72393c )
by Richard
35:55 queued 24:02
created
htdocs/class/libraries/vendor/kint-php/kint/src/Renderer/Rich.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -131,6 +131,9 @@  discard block
 block discarded – undo
131 131
         return '<dl>'.$header.$children.'</dl>';
132 132
     }
133 133
 
134
+    /**
135
+     * @param boolean $has_children
136
+     */
134 137
     public function renderHeaderWrapper(Kint_Object $o, $has_children, $contents)
135 138
     {
136 139
         $out = '<dt';
@@ -257,6 +260,9 @@  discard block
 block discarded – undo
257 260
         return $output.'</dd>';
258 261
     }
259 262
 
263
+    /**
264
+     * @return string
265
+     */
260 266
     protected function renderTab(Kint_Object $o, Kint_Object_Representation $rep)
261 267
     {
262 268
         if ($plugin = $this->getPlugin(self::$tab_renderers, $rep->hints)) {
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/kint-php/kint/src/Renderer/Rich/Plugin.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
14 14
      *
15 15
      * This is a placeholder until Kint 3 when it can be renamed to
16 16
      * renderLockedHeader after the deprecated static method is removed
17
+     * @param string $content
17 18
      */
18 19
     public function renderHeaderLocked(Kint_Object $o, $content)
19 20
     {
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/kint-php/kint/src/Renderer/Text.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@
 block discarded – undo
94 94
         return $out;
95 95
     }
96 96
 
97
+    /**
98
+     * @param integer $width
99
+     */
97 100
     public function boxText($text, $width)
98 101
     {
99 102
         if (Kint_Object_Blob::strlen($text) > $width - 4) {
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/kint-php/kint/src/SourceParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -329,6 +329,9 @@
 block discarded – undo
329 329
         return $function_calls;
330 330
     }
331 331
 
332
+    /**
333
+     * @param integer $direction
334
+     */
332 335
     private static function realTokenIndex(array $tokens, $index, $direction)
333 336
     {
334 337
         $index += $direction;
Please login to merge, or discard this patch.
htdocs/class/logger/xoopslogger.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     /**
75 75
      * Get a reference to the only instance of this class
76 76
      *
77
-     * @return object XoopsLogger  reference to the only instance
77
+     * @return XoopsLogger XoopsLogger  reference to the only instance
78 78
      */
79 79
     public static function getInstance()
80 80
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     /**
262 262
      * Determine if an object implements Throwable (or is an Exception that would under PHP 7.)
263 263
      *
264
-     * @param mixed $e Expected to be an object related to Exception or Throwable
264
+     * @param Throwable $e Expected to be an object related to Exception or Throwable
265 265
      *
266 266
      * @return bool true if related to Throwable or Exception, otherwise false
267 267
      */
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
      *
278 278
      * @param string $path
279 279
      *
280
-     * @return mixed|string
280
+     * @return string
281 281
      */
282 282
     public function sanitizePath($path)
283 283
     {
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
  * @param       $errFile
437 437
  * @param       $errLine
438 438
  * @param  null $errContext
439
- * @return bool
439
+ * @return boolean|null
440 440
  */
441 441
 function XoopsErrorHandler_HandleError($errNo, $errStr, $errFile, $errLine, $errContext = null)
442 442
 {
Please login to merge, or discard this patch.
htdocs/class/smarty/plugins/outputfilter.trimwhitespace.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
     return $source;
62 62
 }
63 63
 
64
+/**
65
+ * @param string $search_str
66
+ */
64 67
 function smarty_outputfilter_trimwhitespace_replace($search_str, $replace, &$subject) {
65 68
     $_len = strlen($search_str);
66 69
     $_pos = 0;
Please login to merge, or discard this patch.
xoops_lib/modules/protector/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param string $string
35 35
      * @param HTMLPurifier_Config $config
36 36
      * @param HTMLPurifier_Context $context
37
-     * @return bool|string
37
+     * @return false|string
38 38
      */
39 39
     public function validate($string, $config, $context)
40 40
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/modules/protector/library/HTMLPurifier/Lexer/DOMLex.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@  discard block
 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)
@@ -147,6 +148,7 @@  discard block
 block discarded – undo
147 148
      * Portably retrieve the data of a node; deals with older versions
148 149
      * of libxml like 2.7.6
149 150
      * @param DOMNode $node
151
+     * @return string
150 152
      */
151 153
     protected function getData($node)
152 154
     {
Please login to merge, or discard this patch.
htdocs/modules/system/class/thumbs/phpthumb.bmp.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -793,6 +793,9 @@  discard block
 block discarded – undo
793 793
 
794 794
 	// from getid3.lib.php
795 795
 
796
+	/**
797
+	 * @param double $floatnumber
798
+	 */
796 799
 	public function trunc($floatnumber) {
797 800
 		// truncates a floating-point number at the decimal point
798 801
 		// returns int (if possible, otherwise float)
@@ -809,6 +812,9 @@  discard block
 block discarded – undo
809 812
 		return $truncatednumber;
810 813
 	}
811 814
 
815
+	/**
816
+	 * @param string $byteword
817
+	 */
812 818
 	public function LittleEndian2Int($byteword) {
813 819
 		$intvalue = 0;
814 820
 		$byteword = strrev($byteword);
@@ -832,11 +838,17 @@  discard block
 block discarded – undo
832 838
 		return $binvalue;
833 839
 	}
834 840
 
841
+	/**
842
+	 * @param string $rawdata
843
+	 */
835 844
 	public function FixedPoint2_30($rawdata) {
836 845
 		$binarystring = $this->BigEndian2Bin($rawdata);
837 846
 		return $this->Bin2Dec(substr($binarystring, 0, 2)) + (float) ($this->Bin2Dec(substr($binarystring, 2, 30)) / 1073741824);
838 847
 	}
839 848
 
849
+	/**
850
+	 * @param string $binstring
851
+	 */
840 852
 	public function Bin2Dec($binstring, $signed=false) {
841 853
 		$signmult = 1;
842 854
 		if ($signed) {
Please login to merge, or discard this patch.