Beans_Lessc::flattenList PHP Method

flattenList() protected method

turn list of length 1 into value type
protected flattenList ( $value )
    protected function flattenList($value)
    {
        if ($value[0] == "list" && count($value[2]) == 1) {
            return $this->flattenList($value[2][0]);
        }
        return $value;
    }