Test Setup Failed
Push — next ( 5d2fc6...738e04 )
by Jonathan
03:23
created
tests/KintTestCase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * Asserts that a condition is true.
22 22
      *
23
-     * @param array  $expected
23
+     * @param string[]  $expected
24 24
      * @param string $actual
25 25
      * @param string $message
26 26
      *
Please login to merge, or discard this patch.
Kint.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      * Dumps an array as separate values, and uses $names to seed the parser.
223 223
      *
224 224
      * @param array              $data  Data to be dumped
225
-     * @param BasicObject[]|null $names Array of BasicObject to seed the parser with
225
+     * @param BasicObject[] $names Array of BasicObject to seed the parser with
226 226
      */
227 227
     public static function dumpArray(array $data, array $names = null)
228 228
     {
@@ -479,6 +479,7 @@  discard block
 block discarded – undo
479 479
      * call (modifiers).
480 480
      *
481 481
      * @param array $trace
482
+     * @param integer $num_params
482 483
      *
483 484
      * @return array($params, $modifiers, $callee, $caller, $miniTrace)
484 485
      */
Please login to merge, or discard this patch.
src/Object/BasicObject.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@  discard block
 block discarded – undo
55 55
         return true;
56 56
     }
57 57
 
58
+    /**
59
+     * @param integer $pos
60
+     */
58 61
     public function replaceRepresentation(Representation $rep, $pos = null)
59 62
     {
60 63
         if ($pos === null) {
@@ -74,6 +77,9 @@  discard block
 block discarded – undo
74 77
         }
75 78
     }
76 79
 
80
+    /**
81
+     * @param string $name
82
+     */
77 83
     public function getRepresentation($name)
78 84
     {
79 85
         if (isset($this->representations[$name])) {
Please login to merge, or discard this patch.
src/Object/BlobObject.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         return strlen($string);
80 80
     }
81 81
 
82
+    /**
83
+     * @param integer $start
84
+     */
82 85
     public static function substr($string, $start, $length = null, $encoding = false)
83 86
     {
84 87
         if (extension_loaded('mbstring')) {
Please login to merge, or discard this patch.
src/Object/ColorObject.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,6 +161,9 @@  discard block
 block discarded – undo
161 161
     public $hints = array('color');
162 162
     public $color = null;
163 163
 
164
+    /**
165
+     * @param Representation\ColorRepresentation $color
166
+     */
164 167
     public function __construct($color)
165 168
     {
166 169
         parent::__construct();
@@ -175,7 +178,7 @@  discard block
 block discarded – undo
175 178
      * @param float $s Saturation
176 179
      * @param float $l Lightness
177 180
      *
178
-     * @return array RGB array
181
+     * @return double[] RGB array
179 182
      */
180 183
     public static function hslToRgb($h, $s, $l)
181 184
     {
@@ -208,6 +211,9 @@  discard block
 block discarded – undo
208 211
     /**
209 212
      * Helper function for hslToRgb. Even blacker magic.
210 213
      *
214
+     * @param double $m1
215
+     * @param double $m2
216
+     * @param double $hue
211 217
      * @return float Color value
212 218
      */
213 219
     private static function hueToRgb($m1, $m2, $hue)
Please login to merge, or discard this patch.
src/Object/Representation/ColorRepresentation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
         $this->setValues($value);
71 71
     }
72 72
 
73
+    /**
74
+     * @param integer $variant
75
+     */
73 76
     public function hasAlpha($variant = null)
74 77
     {
75 78
         if ($variant === null) {
Please login to merge, or discard this patch.
src/Object/Representation/DocstringRepresentation.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -9,6 +9,11 @@
 block discarded – undo
9 9
     public $class = null;
10 10
     public $hints = array('docstring');
11 11
 
12
+    /**
13
+     * @param string $docstring
14
+     * @param string $file
15
+     * @param integer $line
16
+     */
12 17
     public function __construct($docstring, $file, $line, $class = null)
13 18
     {
14 19
         parent::__construct('Docstring');
Please login to merge, or discard this patch.
src/Object/Representation/MicrotimeRepresentation.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -13,6 +13,11 @@
 block discarded – undo
13 13
     public $mem_peak_real = null;
14 14
     public $hints = array('microtime');
15 15
 
16
+    /**
17
+     * @param integer $group
18
+     * @param double $lap
19
+     * @param double $total
20
+     */
16 21
     public function __construct($group, $lap = null, $total = null, $i = 0)
17 22
     {
18 23
         parent::__construct('Microtime');
Please login to merge, or discard this patch.
src/Object/Representation/Representation.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -11,6 +11,10 @@
 block discarded – undo
11 11
 
12 12
     protected $name;
13 13
 
14
+    /**
15
+     * @param string $label
16
+     * @param string $name
17
+     */
14 18
     public function __construct($label, $name = null)
15 19
     {
16 20
         $this->label = $label;
Please login to merge, or discard this patch.