Test Setup Failed
Push — test ( 4027b3...9fddab )
by Jonathan
03:08
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/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/Parser/BlacklistPlugin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         }
51 51
     }
52 52
 
53
+    /**
54
+     * @param BasicObject $o
55
+     */
53 56
     protected function blacklist(&$var, &$o)
54 57
     {
55 58
         $object = $o->transplant(new InstanceObject());
Please login to merge, or discard this patch.
src/Parser/DOMDocumentPlugin.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@  discard block
 block discarded – undo
135 135
         }
136 136
     }
137 137
 
138
+    /**
139
+     * @param DOMNode $var
140
+     */
138 141
     protected function parseNode(&$var, InstanceObject &$o)
139 142
     {
140 143
         // Fill the properties
@@ -240,6 +243,9 @@  discard block
 block discarded – undo
240 243
         }
241 244
     }
242 245
 
246
+    /**
247
+     * @param string $prop
248
+     */
243 249
     protected function parseProperty(InstanceObject $o, $prop, &$var)
244 250
     {
245 251
         // Duplicating (And slightly optimizing) the Parser::parseObject() code here
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
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * Dumps an array as separate values, and uses $names to seed the parser.
224 224
      *
225 225
      * @param array              $data  Data to be dumped
226
-     * @param BasicObject[]|null $names Array of BasicObject to seed the parser with
226
+     * @param BasicObject[] $names Array of BasicObject to seed the parser with
227 227
      */
228 228
     public static function dumpArray(array $data, array $names = null)
229 229
     {
@@ -484,6 +484,7 @@  discard block
 block discarded – undo
484 484
      * call (modifiers).
485 485
      *
486 486
      * @param array $trace
487
+     * @param integer $num_params
487 488
      *
488 489
      * @return array($params, $modifiers, $callee, $caller, $miniTrace)
489 490
      */
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.
src/Object/Representation/ColorRepresentation.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,6 +237,9 @@  discard block
 block discarded – undo
237 237
         $this->setValues($value);
238 238
     }
239 239
 
240
+    /**
241
+     * @param integer $variant
242
+     */
240 243
     public function hasAlpha($variant = null)
241 244
     {
242 245
         if ($variant === null) {
@@ -393,7 +396,7 @@  discard block
 block discarded – undo
393 396
      * @param float $s Saturation
394 397
      * @param float $l Lightness
395 398
      *
396
-     * @return array RGB array
399
+     * @return double[] RGB array
397 400
      */
398 401
     public static function hslToRgb($h, $s, $l)
399 402
     {
@@ -426,6 +429,9 @@  discard block
 block discarded – undo
426 429
     /**
427 430
      * Helper function for hslToRgb. Even blacker magic.
428 431
      *
432
+     * @param double $m1
433
+     * @param double $m2
434
+     * @param double $hue
429 435
      * @return float Color value
430 436
      */
431 437
     private static function hueToRgb($m1, $m2, $hue)
Please login to merge, or discard this patch.