From 575a3eb00cf50124c18a2af065da2f2b3387a387 Mon Sep 17 00:00:00 2001 From: rMalie Date: Tue, 6 Dec 2011 13:24:42 +0000 Subject: [PATCH] // Little fix on CSV --- classes/CSV.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/CSV.php b/classes/CSV.php index 618c03f0c..b7129b5d2 100644 --- a/classes/CSV.php +++ b/classes/CSV.php @@ -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;