Skip to content

Commit 2d844f0

Browse files
committed
Apply fixes from StyleCI
1 parent c84dcd7 commit 2d844f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CompositeException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ final class CompositeException extends Exception
1818
public array $rest;
1919

2020
public function __construct(
21-
private \Throwable $first,
22-
\Throwable ...$rest,
21+
private Throwable $first,
22+
Throwable ...$rest,
2323
) {
2424
$this->rest = $rest;
2525
parent::__construct($first->getMessage(), $first->getCode(), $first);

src/Renderer/HtmlRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public function renderPreviousExceptions(Throwable $t): string
216216
$templatePath = $this->defaultTemplatePath . '/_previous-exception.php';
217217

218218
if ($t instanceof CompositeException) {
219-
$result=[];
219+
$result = [];
220220
foreach ($t->getPreviousExceptions() as $exception) {
221221
$result[] = $this->renderTemplate($templatePath, ['throwable' => $exception]);
222222
}

0 commit comments

Comments
 (0)