Skip to content

Commit 23dfe38

Browse files
apply code suggestion
Co-authored-by: John Paul E. Balandan, CPA <[email protected]>
1 parent d7085f4 commit 23dfe38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/HTTP/SSEResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private function formatMultiline(string $prefix, string $value): string
125125
$output = '';
126126

127127
foreach (explode("\n", $value) as $line) {
128-
$output .= ($prefix !== '' ? "{$prefix}: " : ': ') . $line . "\n";
128+
$output .= "{$prefix}: " . $line . "\n";
129129
}
130130

131131
return $output . "\n";

0 commit comments

Comments
 (0)