From 19086005b1c14b67f56375ee2483f05094669e8e Mon Sep 17 00:00:00 2001 From: kastaldi Date: Tue, 8 Jan 2019 20:33:33 +0100 Subject: [PATCH] Class modified for PHP 7 compatibility --- libchart/classes/model/XYDataSet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libchart/classes/model/XYDataSet.php b/libchart/classes/model/XYDataSet.php index 5685f11..97850cd 100644 --- a/libchart/classes/model/XYDataSet.php +++ b/libchart/classes/model/XYDataSet.php @@ -30,7 +30,7 @@ class XYDataSet extends DataSet { * Constructor of XYDataSet. * */ - public function XYDataSet() { + public function __construct() { $this->pointList = array(); } @@ -53,4 +53,4 @@ public function getPointList() { return $this->pointList; } } -?> \ No newline at end of file +?>