private function changeBars($in) {
        if ($this->ratio > 1) {
            $c = strlen($in);
            for ($i = 0; $i < $c; $i++) {
                $in[$i] = $in[$i] === '1' ? $this->ratio : $in[$i];
            }
        }

        return $in;
    }
private function changeBars($in) {
        if ($this->ratio > 1) {
            $c = strlen($in);
            for ($i = 0; $i < $c; $i++) {
                $in[$i] = $in[$i] === '1' ? $this->ratio : $in[$i];
            }
        }

        return $in;
    }
private function changeBars ( $ in ) { if ( $ this -> ratio > 1 ) { $ c = strlen ( $ in ) ; for ( $ i = 0 ; $ i < $ c ; $ i ++ ) { $ in [ $ i ] = $ in [ $ i ] === '1' ? $ this -> ratio : $ in [ $ i ] ; } } return $ in ; }
Changes the size of the bars based on the ratio

@param string $in
@return string
Changes the size of the bars based on the ratio