public function postProcess()
    {
        foreach ($this->info as $key => $v) {
            if (count((array) $v) == 1) {
                $this->info[$key] = $v->type;
            } elseif (count((array) $v) == 2 && isset($v->allow_null)) {
                $this->info[$key] = -$v->type;
            }
        }
    }
public function postProcess()
    {
        foreach ($this->info as $key => $v) {
            if (count((array) $v) == 1) {
                $this->info[$key] = $v->type;
            } elseif (count((array) $v) == 2 && isset($v->allow_null)) {
                $this->info[$key] = -$v->type;
            }
        }
    }
public function postProcess ( ) { foreach ( $ this -> info as $ key => $ v ) { if ( count ( ( array ) $ v ) == 1 ) { $ this -> info [ $ key ] = $ v -> type ; } elseif ( count ( ( array ) $ v ) == 2 && isset ( $ v -> allow_null ) ) { $ this -> info [ $ key ] = - $ v -> type ; } } }
Replaces any stdClass that only has the type property with type integer.
Replaces any stdClass that only has the type property with type integer .