From 8dd2e5207328ec7cc48caa2b0b78dc2532e28a13 Mon Sep 17 00:00:00 2001 From: William Knauss Date: Wed, 5 Feb 2014 18:25:13 -0500 Subject: [PATCH] __construct readability --- parsecsv.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsecsv.lib.php b/parsecsv.lib.php index 57eba4c..fe7d5ee 100644 --- a/parsecsv.lib.php +++ b/parsecsv.lib.php @@ -173,7 +173,7 @@ class parseCSV { * @param input CSV file or string * @return nothing */ - function parseCSV ($input = null, $offset = null, $limit = null, $conditions = null) { + public function __construct ($input = null, $offset = null, $limit = null, $conditions = null) { if ($offset!==null) { $this->offset = $offset; }