mirror of https://github.com/rectorphp/rector.git
22 lines
422 B
PHTML
22 lines
422 B
PHTML
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tracy;
|
|
|
|
/**
|
|
* @var \Throwable $ex
|
|
* @var callable $dump
|
|
*/
|
|
|
|
if (count((array) $ex) <= count((array) new \Exception)) {
|
|
return;
|
|
}
|
|
?>
|
|
<section class="tracy-section">
|
|
<h2 class="tracy-section-label"><a href="#" data-tracy-ref="^+" class="tracy-toggle tracy-collapsed">Exception</a></h2>
|
|
<div class="tracy-section-panel tracy-collapsed">
|
|
<?= $dump($ex) ?>
|
|
</div>
|
|
</section>
|