From aefb9a622436ad605b33461c38703ad86b1799b4 Mon Sep 17 00:00:00 2001 From: kastaldi Date: Tue, 8 Jan 2019 20:37:05 +0100 Subject: [PATCH] Class modified for PHP 7 compatibility --- libchart/classes/view/caption/Caption.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libchart/classes/view/caption/Caption.php b/libchart/classes/view/caption/Caption.php index a866ccc..6a042f0 100644 --- a/libchart/classes/view/caption/Caption.php +++ b/libchart/classes/view/caption/Caption.php @@ -39,7 +39,7 @@ class Caption { /** * Constructor of Caption */ - public function Caption() { + public function __construct() { $this->labelBoxWidth = 15; $this->labelBoxHeight = 15; } @@ -109,4 +109,4 @@ public function setColorSet($colorSet) { $this->colorSet = $colorSet; } } -?> \ No newline at end of file +?>