getClass(); if ($rtype && isset($this->types[$rtype->name])) { return $this->types[$rtype->name]; } // use a lazy-new-instance of the typehinted class? if ($rtype && $rtype->isInstantiable()) { return new LazyNew($this, $rtype->name); } // $unified is still an UnresolvedParam return $unified; } }