We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b13faf commit f3c0255Copy full SHA for f3c0255
1 file changed
src/View/CsvView.php
@@ -465,12 +465,13 @@ protected function _generateRow($row = null)
465
/**
466
* Returns the BOM for the encoding given.
467
*
468
- * @param string $csvEncoding
+ * @param string $csvEncoding The encoding you want the BOM for
469
* @return string
470
*/
471
protected function getBom($csvEncoding)
472
{
473
$csvEncoding = strtoupper($csvEncoding);
474
+
475
return isset($this->bomMap[$csvEncoding]) ? $this->bomMap[$csvEncoding] : '';
476
}
477
0 commit comments