diff --git a/libchart/classes/view/chart/BarChart.php b/libchart/classes/view/chart/BarChart.php index 536687c..4a1f3fc 100644 --- a/libchart/classes/view/chart/BarChart.php +++ b/libchart/classes/view/chart/BarChart.php @@ -33,8 +33,8 @@ abstract class BarChart extends Chart { * @param integer width of the image * @param integer height of the image */ - protected function BarChart($width, $height) { - parent::Chart($width, $height); + protected function __construct($width, $height) { + parent::__construct($width, $height); // Initialize the bounds $this->bound = new Bound(); @@ -176,4 +176,4 @@ public function getBound() { return $this->bound; } } -?> \ No newline at end of file +?>