public function getClassName() { if ($this->isArray() || $this->isCallable()) { return null; } if (isset($this->getParsedClasses()[$this->typeHint])) { return $this->typeHint; } return null; }