Skip to content

Commit

Permalink
style: break long line
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Nov 29, 2023
1 parent c25c25d commit 71e8443
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion system/Database/BaseUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ public function getCSVFromResult(ResultInterface $query, string $delim = ',', st
$line = [];

foreach ($row as $item) {
$line[] = $enclosure . str_replace($enclosure, $enclosure . $enclosure, (string) $item) . $enclosure;
$line[] = $enclosure . str_replace(
$enclosure,
$enclosure . $enclosure,
(string) $item
) . $enclosure;
}

$out .= implode($delim, $line) . $newline;
Expand Down

0 comments on commit 71e8443

Please sign in to comment.