Skip to content

Commit f3c0255

Browse files
author
Dominik Schmelz
committed
Fix Code Smells
1 parent 8b13faf commit f3c0255

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/View/CsvView.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,13 @@ protected function _generateRow($row = null)
465465
/**
466466
* Returns the BOM for the encoding given.
467467
*
468-
* @param string $csvEncoding
468+
* @param string $csvEncoding The encoding you want the BOM for
469469
* @return string
470470
*/
471471
protected function getBom($csvEncoding)
472472
{
473473
$csvEncoding = strtoupper($csvEncoding);
474+
474475
return isset($this->bomMap[$csvEncoding]) ? $this->bomMap[$csvEncoding] : '';
475476
}
476477
}

0 commit comments

Comments
 (0)