Falling back on parsed types seems redundant and pointless. The only way the fallback will happen is when there's no type component at all, in which case getType() will be just as useless.

Make that just "return $this->type;".