From b2ef215606f5663de4806dd6e3c00847f1e33fc2 Mon Sep 17 00:00:00 2001 From: kastaldi Date: Tue, 8 Jan 2019 20:30:30 +0100 Subject: [PATCH] Class modified for PHP 7 compatibility --- libchart/classes/model/ChartConfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libchart/classes/model/ChartConfig.php b/libchart/classes/model/ChartConfig.php index 445482d..78805fc 100644 --- a/libchart/classes/model/ChartConfig.php +++ b/libchart/classes/model/ChartConfig.php @@ -47,7 +47,7 @@ class ChartConfig { /** * Creates a new ChartConfig with default options. */ - public function ChartConfig() { + public function __construct() { $this->useMultipleColor = false; $this->showPointCaption = true; $this->sortDataPoint = true; @@ -109,4 +109,4 @@ public function getSortDataPoint() { return $this->sortDataPoint; } } -?> \ No newline at end of file +?>