Skip to content

Commit

Permalink
Fixed autoloading for Composer package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogartPint committed Jun 8, 2016
1 parent 3a93192 commit 341a481
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/zc.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

namespace ZingChart\PHPWrapper;

use mysqli;

class ZC {
private $mysqli;

private $chartId = "";
private $chartId;
private $chartType;
private $theme;
private $width;
Expand Down Expand Up @@ -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);

Expand All @@ -388,4 +388,3 @@ private function buildArray($propertyChain, $value) {
return array($key => $this->buildArray($propertyChain, $value));
}
}
?>

0 comments on commit 341a481

Please sign in to comment.