Completed
Push — master ( 778dc3...68b250 )
by Lars
03:11
created
src/kint/Kint.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
    * @param int    $lineNumber the line to display
456 456
    * @param int    $padding    surrounding lines to show besides the main one
457 457
    *
458
-   * @return bool|string
458
+   * @return false|string
459 459
    */
460 460
   private static function _showSource($file, $lineNumber, $padding = 7)
461 461
   {
@@ -518,7 +518,7 @@  discard block
 block discarded – undo
518 518
    *
519 519
    * @param $step
520 520
    *
521
-   * @return array
521
+   * @return boolean
522 522
    */
523 523
   private static function _stepIsInternal($step)
524 524
   {
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
    *
569 569
    * @param mixed $data
570 570
    *
571
-   * @return void|string
571
+   * @return string
572 572
    */
573 573
   public static function dump($data = null)
574 574
   {
@@ -780,7 +780,7 @@  discard block
 block discarded – undo
780 780
    * @param string $file
781 781
    * @param int    $line
782 782
    *
783
-   * @return mixed
783
+   * @return string
784 784
    */
785 785
   public static function getIdeLink($file, $line)
786 786
   {
@@ -838,7 +838,7 @@  discard block
 block discarded – undo
838 838
    *
839 839
    * @param array $trace [OPTIONAL] you can pass your own trace, otherwise, `debug_backtrace` will be called
840 840
    *
841
-   * @return mixed
841
+   * @return string
842 842
    */
843 843
   public static function trace($trace = null)
844 844
   {
Please login to merge, or discard this patch.
src/kint/parsers/custom/Kint_Parsers_Color.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -388,9 +388,9 @@
 block discarded – undo
388 388
     // TODO: make this readable ...
389 389
     return isset(self::$_css3Named[$var])
390 390
            || preg_match(
391
-               '/^(?:#[0-9A-Fa-f]{3}|#[0-9A-Fa-f]{6}|(?:rgb|hsl)a?\s*\((?:\s*[0-9.%]+\s*,?){3,4}\))$/',
392
-               $var
393
-           );
391
+                '/^(?:#[0-9A-Fa-f]{3}|#[0-9A-Fa-f]{6}|(?:rgb|hsl)a?\s*\((?:\s*[0-9.%]+\s*,?){3,4}\))$/',
392
+                $var
393
+            );
394 394
   }
395 395
 
396 396
   /**
Please login to merge, or discard this patch.
src/kint/inc/KintParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@
 block discarded – undo
609 609
 
610 610
   /**
611 611
    * @param mixed             $value
612
-   * @param null|false|string $encoding
612
+   * @param false|string $encoding
613 613
    *
614 614
    * @return string|null
615 615
    */
Please login to merge, or discard this patch.
src/kint/decorators/Kint_Decorators_Rich.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -474,9 +474,9 @@
 block discarded – undo
474 474
 
475 475
 
476 476
     return '<footer>'
477
-           . '<span class="kint-popup-trigger" title="Open in new window">&rarr;</span> '
478
-           . "{$calleeInfo}{$callingFunction}{$traceDisplay}"
479
-           . '</footer></div>';
477
+            . '<span class="kint-popup-trigger" title="Open in new window">&rarr;</span> '
478
+            . "{$calleeInfo}{$callingFunction}{$traceDisplay}"
479
+            . '</footer></div>';
480 480
   }
481 481
 
482 482
   /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@
 block discarded – undo
78 78
    * @param KintVariableData $kintVar
79 79
    * @param int              $level
80 80
    * @param string           $accessChain
81
-   * @param mixed            $parentType
82
-   * @param mixed            $context
81
+   * @param string            $parentType
82
+   * @param integer            $context
83 83
    *
84 84
    * @return string
85 85
    * @throws \Exception
Please login to merge, or discard this patch.
src/kint/decorators/Kint_Decorators_JS.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
   public static function decorate(KintVariableData $kintVar, /** @noinspection PhpUnusedParameterInspection */ $level = 0)
72 72
   {
73 73
     return 'kintDump.push(' . json_encode(self::_unparse($kintVar)) . ');'
74
-           . 'console.log(kintDump[kintDump.length-1]);';
74
+            . 'console.log(kintDump[kintDump.length-1]);';
75 75
   }
76 76
 
77 77
   /**
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     }
95 95
 
96 96
     return 'kintDump.push(' . json_encode($traceData) . ');'
97
-           . 'console.log(kintDump[kintDump.length-1]);';
97
+            . 'console.log(kintDump[kintDump.length-1]);';
98 98
   }
99 99
 
100 100
   /**
Please login to merge, or discard this patch.