Render exception class PHPDoc description in HTML debug output #8
rector-cs.yml
on: pull_request_target
rector
/
PHP 8.1
31s
Annotations
1 error
|
rector / PHP 8.1:
src/Renderer/HtmlRenderer.php#L215
ArrowFunctionDelegatingCallToFirstClassCallableRector
--- Original
+++ New
@@ -215,7 +215,7 @@
$this->renderTemplate($this->verboseTemplate, [
'request' => $request,
'throwable' => $t,
- 'resolveThrowableDescription' => fn(Throwable $throwable): ?string => $this->getThrowableDescription($throwable),
+ 'resolveThrowableDescription' => $this->getThrowableDescription(...),
]),
[Header::CONTENT_TYPE => self::CONTENT_TYPE],
);
|