Test Setup Failed
Push — next ( 738e04...b06172 )
by Jonathan
25:05
created
src/Renderer/Rich/PluginInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,5 +6,8 @@
 block discarded – undo
6 6
 
7 7
 interface PluginInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function __construct(RichRenderer $r);
10 13
 }
Please login to merge, or discard this patch.
src/Renderer/RichRenderer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -155,6 +155,9 @@  discard block
 block discarded – undo
155 155
         return '<dl>'.$header.$children.'</dl>';
156 156
     }
157 157
 
158
+    /**
159
+     * @param boolean $has_children
160
+     */
158 161
     public function renderHeaderWrapper(BasicObject $o, $has_children, $contents)
159 162
     {
160 163
         $out = '<dt';
@@ -281,6 +284,9 @@  discard block
 block discarded – undo
281 284
         return $output.'</dd>';
282 285
     }
283 286
 
287
+    /**
288
+     * @return string
289
+     */
284 290
     protected function renderTab(BasicObject $o, Representation $rep)
285 291
     {
286 292
         if ($plugin = $this->getPlugin(self::$tab_plugins, $rep->hints)) {
Please login to merge, or discard this patch.
src/Renderer/TextRenderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@
 block discarded – undo
103 103
         return $out;
104 104
     }
105 105
 
106
+    /**
107
+     * @param integer $width
108
+     */
106 109
     public function boxText($text, $width)
107 110
     {
108 111
         if (BlobObject::strlen($text) > $width - 4) {
Please login to merge, or discard this patch.
src/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/Representation/ColorRepresentation.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
      * @param float $s Saturation
422 422
      * @param float $l Lightness
423 423
      *
424
-     * @return int[] RGB array
424
+     * @return integer[] RGB array
425 425
      */
426 426
     public static function hslToRgb($h, $s, $l)
427 427
     {
@@ -448,6 +448,9 @@  discard block
 block discarded – undo
448 448
     /**
449 449
      * Helper function for hslToRgb. Even blacker magic.
450 450
      *
451
+     * @param double $m1
452
+     * @param double $m2
453
+     * @param double $hue
451 454
      * @return float Color value
452 455
      */
453 456
     private static function hueToRgb($m1, $m2, $hue)
@@ -469,11 +472,11 @@  discard block
 block discarded – undo
469 472
     /**
470 473
      * Converts RGB to HSL. Color inversion of previous black magic is white magic?
471 474
      *
472
-     * @param int|float $red   Red
475
+     * @param integer $red   Red
473 476
      * @param int|float $green Green
474
-     * @param int|float $blue  Blue
477
+     * @param integer $blue  Blue
475 478
      *
476
-     * @return float[] HSL array
479
+     * @return double[] HSL array
477 480
      */
478 481
     public static function rgbToHsl($red, $green, $blue)
479 482
     {
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|null $file
14
+     * @param integer|null $line
15
+     * @param string $class
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   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
     public $mem_peak_real = 0;
20 20
     public $hints = array('microtime');
21 21
 
22
+    /**
23
+     * @param integer $group
24
+     */
22 25
     public function __construct($seconds, $microseconds, $group, $lap = null, $total = null, $i = 0)
23 26
     {
24 27
         parent::__construct('Microtime');
Please login to merge, or discard this patch.