diff --git a/src/Presentation/Console/Presenters/Security/AuditLogsView.php b/src/Presentation/Console/Presenters/Security/AuditLogsView.php index 1475382..1481ced 100644 --- a/src/Presentation/Console/Presenters/Security/AuditLogsView.php +++ b/src/Presentation/Console/Presenters/Security/AuditLogsView.php @@ -31,7 +31,7 @@ final readonly class AuditLogsView throw new \UnexpectedValueException('Failed to create temporary stream for CSV generation.'); } - fputcsv($handle, $this->headers); + fputcsv($handle, $this->headers, ',', '"', '\\'); foreach ($this->rows as $row) { fputcsv($handle, [ @@ -40,7 +40,7 @@ final readonly class AuditLogsView $row->clientIdentifier, $row->clientId->toString(), $row->details, - ]); + ], ',', '"', '\\'); } rewind($handle);