Completed
Push — master ( 3c84ea...366ddd )
by Lars
02:25
created
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.
src/kint/Kint.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
    * @param int    $lineNumber the line to display
465 465
    * @param int    $padding    surrounding lines to show besides the main one
466 466
    *
467
-   * @return bool|string
467
+   * @return false|string
468 468
    */
469 469
   private static function _showSource($file, $lineNumber, $padding = 7)
470 470
   {
@@ -527,7 +527,7 @@  discard block
 block discarded – undo
527 527
    *
528 528
    * @param $step
529 529
    *
530
-   * @return array
530
+   * @return boolean
531 531
    */
532 532
   private static function _stepIsInternal($step)
533 533
   {
@@ -794,7 +794,7 @@  discard block
 block discarded – undo
794 794
    * @param string $file
795 795
    * @param int    $line
796 796
    *
797
-   * @return mixed
797
+   * @return string
798 798
    */
799 799
   public static function getIdeLink($file, $line)
800 800
   {
@@ -852,7 +852,7 @@  discard block
 block discarded – undo
852 852
    *
853 853
    * @param array $trace [OPTIONAL] you can pass your own trace, otherwise, `debug_backtrace` will be called
854 854
    *
855
-   * @return mixed
855
+   * @return string|null
856 856
    */
857 857
   public static function trace($trace = null)
858 858
   {
Please login to merge, or discard this patch.