protected function processDocBlock($text, array $uses = []): array
    {
        $parser = new DocBlockParser($text);

        $rtn = [
            'params' => [],
            'return' => null,
            'inheritdoc' => false,
        ];

        if (isset($parser->tags['param'])) {
            $rtn = $this->processDocBlockParams($parser->tags['param'], $uses, $rtn);
        }

        if (isset($parser->tags['return'])) {
            $rtn['return'] = $this->getDocBlockReturnType($parser->tags['return'], $uses);
        }

        if (stripos($parser->comment, '@inheritdoc') !== false) {
            $rtn['inheritdoc'] = true;
        }

        return $rtn;
    }