мелкие правки

This commit is contained in:
rsgrinko committed 2026-11-13 16:43:35 +03:00
1 parent 19fe218c8d
commit bd4ad625c2
5 files changed
+32 -9

No files matched your search

+3 -1
View File
@@ -119,7 +119,9 @@ final class CsvQueryTool implements Tool
$rows = [];
while (($row = fgetcsv($handle, 0, $delimiter)) !== false) {
// enclosure и escape — явно: в PHP 8.4+ без escape предупреждение
// (значение по умолчанию поменяется). Поведение прежнее.
while (($row = fgetcsv($handle, 0, $delimiter, '"', '\\')) !== false) {
$rows[] = array_map(static fn ($cell): string => trim((string) $cell), $row);
}