Skip to content

Commit 6371efe

Browse files
xepozzgithub-actions[bot]
authored andcommitted
Apply Rector changes (CI)
1 parent e904abf commit 6371efe

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/Renderer/HtmlRenderer.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,6 @@ final class HtmlRenderer implements ThrowableRendererInterface
108108
*/
109109
private ?array $vendorPaths = null;
110110

111-
/**
112-
* @var SolutionProviderInterface[]
113-
*/
114-
private array $solutionProviders;
115-
116111
/**
117112
* @param array $settings (deprecated) Settings can have the following keys:
118113
* - template: string, full path of the template file for rendering exceptions without call stack information.
@@ -144,7 +139,7 @@ public function __construct(
144139
?int $maxSourceLines = null,
145140
?int $maxTraceLines = null,
146141
?string $traceHeaderLine = null,
147-
array $solutionProviders = []
142+
private readonly array $solutionProviders = []
148143
) {
149144
$this->markdownParser = new GithubMarkdown();
150145
$this->markdownParser->html5 = true;
@@ -166,8 +161,6 @@ public function __construct(
166161
$this->traceHeaderLine = $traceHeaderLine
167162
?? $settings['traceHeaderLine']
168163
?? null;
169-
170-
$this->solutionProviders = $solutionProviders;
171164
}
172165

173166
public function render(Throwable $t, ?ServerRequestInterface $request = null): ErrorData

0 commit comments

Comments
 (0)