@@ -455,7 +455,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -388,9 +388,9 @@ |
||
| 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 | /** |
@@ -609,7 +609,7 @@ |
||
| 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 | */ |
@@ -474,9 +474,9 @@ |
||
| 474 | 474 | |
| 475 | 475 | |
| 476 | 476 | return '<footer>' |
| 477 | - . '<span class="kint-popup-trigger" title="Open in new window">→</span> ' |
|
| 478 | - . "{$calleeInfo}{$callingFunction}{$traceDisplay}" |
|
| 479 | - . '</footer></div>'; |
|
| 477 | + . '<span class="kint-popup-trigger" title="Open in new window">→</span> ' |
|
| 478 | + . "{$calleeInfo}{$callingFunction}{$traceDisplay}" |
|
| 479 | + . '</footer></div>'; |
|
| 480 | 480 | } |
| 481 | 481 | |
| 482 | 482 | /** |
@@ -71,7 +71,7 @@ discard block |
||
| 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 |
||
| 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 | /** |