From 90417697a3c3fcc50bf8ab165c7feb271e618346 Mon Sep 17 00:00:00 2001 From: kastaldi Date: Tue, 8 Jan 2019 20:34:30 +0100 Subject: [PATCH] Class modified for PHP 7 compatibility --- libchart/classes/model/XYSeriesDataSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libchart/classes/model/XYSeriesDataSet.php b/libchart/classes/model/XYSeriesDataSet.php index b9d4dbc..ef2a73f 100644 --- a/libchart/classes/model/XYSeriesDataSet.php +++ b/libchart/classes/model/XYSeriesDataSet.php @@ -39,7 +39,7 @@ class XYSeriesDataSet extends DataSet { * Constructor of XYSeriesDataSet. * */ - public function XYSeriesDataSet() { + public function __construct() { $this->titleList = array(); $this->serieList = array(); } @@ -73,4 +73,4 @@ public function getSerieList() { return $this->serieList; } } -?> \ No newline at end of file +?>