diff --git a/src/zc.php b/src/zc.php index cc2f22c..baa712c 100644 --- a/src/zc.php +++ b/src/zc.php @@ -2,10 +2,12 @@ namespace ZingChart\PHPWrapper; +use mysqli; + class ZC { private $mysqli; - private $chartId = ""; + private $chartId; private $chartType; private $theme; private $width; @@ -373,9 +375,7 @@ private function autoAxisTitles($scaleXFlag=false, $xLabels=array()) { } } - /** - * Process the array with tail recursion. - */ + //Process the array with tail recursion. private function buildArray($propertyChain, $value) { $key = array_shift($propertyChain); @@ -388,4 +388,3 @@ private function buildArray($propertyChain, $value) { return array($key => $this->buildArray($propertyChain, $value)); } } -?> \ No newline at end of file