public function removeType(string $type)
    {
        if (!$this->removing && Type::hasType($type)) {
            $this->removing = true;
            Type::overrideType($type, null);
        }

        $this->removing = false;
        unset($this->types[$type]);
    }
public function removeType(string $type)
    {
        if (!$this->removing && Type::hasType($type)) {
            $this->removing = true;
            Type::overrideType($type, null);
        }

        $this->removing = false;
        unset($this->types[$type]);
    }
public function removeType ( string $ type ) { if ( ! $ this -> removing && Type :: hasType ( $ type ) ) { $ this -> removing = true ; Type :: overrideType ( $ type , null ) ; } $ this -> removing = false ; unset ( $ this -> types [ $ type ] ) ; }
Unregister the given type
Unregister the given type