Skip to content

Commit 329fd2b

Browse files
Marlonzaosebastianfeldmann
authored andcommitted
Update Template.php
The resulting rendered template wasn't being concatenated to the whole string
1 parent a5e5786 commit 329fd2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Log/ResultFormatter/Template.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function renderErrors(string $errorTpl, array $errors) : string
139139
'file' => $e->getFile(),
140140
'line' => $e->getLine()
141141
];
142-
$markup = $this->renderTemplate($errorTpl, $data);
142+
$markup .= $this->renderTemplate($errorTpl, $data);
143143
}
144144
return $markup;
145145
}
@@ -171,7 +171,7 @@ private function renderBackups(string $backupTpl, array $backups) : string
171171
'cleanupFailed' => $b->cleanupCountFailed(),
172172
'cleanupSkipped' => $b->cleanupCountSkipped(),
173173
];
174-
$markup = $this->renderTemplate($backupTpl, $data);
174+
$markup .= $this->renderTemplate($backupTpl, $data);
175175
}
176176
return $markup;
177177
}

0 commit comments

Comments
 (0)