public function visitObjectType(ObjectType $type)
    {
        $difference = $this->comparePrimaryType($type);

        if (0 !== $difference) {
            return $difference;
        }

        return $this->compareAttribute($this->type->ofType(), $type->ofType());
    }
public function visitObjectType(ObjectType $type)
    {
        $difference = $this->comparePrimaryType($type);

        if (0 !== $difference) {
            return $difference;
        }

        return $this->compareAttribute($this->type->ofType(), $type->ofType());
    }
public function visitObjectType ( ObjectType $ type ) { $ difference = $ this -> comparePrimaryType ( $ type ) ; if ( 0 !== $ difference ) { return $ difference ; } return $ this -> compareAttribute ( $ this -> type -> ofType ( ) , $ type -> ofType ( ) ) ; }
Visit an object type.

@param ObjectType $type The type.

@return mixed The result of visitation.
Visit an object type .