// Little fix on CSV

This commit is contained in:
rMalie
2011-12-06 13:24:42 +00:00
parent 2bf4ef9196
commit 575a3eb00c
+2 -2
View File
@@ -38,11 +38,11 @@ class CSVCore
/**
* Loads objects, filename and optionnaly a delimiter.
* @param Collection|Array : colletion of objects / array (of non-objects)
* @param Collection $collection collection of objects / array (of non-objects)
* @param string $filename : used later to save the file
* @param string $delimiter Optional : delimiter used
*/
public function __construct(&$collection, $filename, $delimiter = ';')
public function __construct($collection, $filename, $delimiter = ';')
{
$this->filename = $filename;
$this->delimiter = $delimiter;