protected function normalizeParams(DocBlock $phpdoc)
    {
        //Get the return type and adjust them for beter autocomplete
        $paramTags = $phpdoc->getTagsByName('param');
        if ($paramTags) {
            /** @var ParamTag $tag */
            foreach ($paramTags as $tag) {
                // Convert the keywords
                $content = $this->convertKeywords($tag->getContent());
                $tag->setContent($content);

                // Get the expanded type and re-set the content
                $content = $tag->getType() . ' ' . $tag->getVariableName() . ' ' . $tag->getDescription();
                $tag->setContent(trim($content));
            }
        }
    }
protected function normalizeParams(DocBlock $phpdoc)
    {
        //Get the return type and adjust them for beter autocomplete
        $paramTags = $phpdoc->getTagsByName('param');
        if ($paramTags) {
            /** @var ParamTag $tag */
            foreach ($paramTags as $tag) {
                // Convert the keywords
                $content = $this->convertKeywords($tag->getContent());
                $tag->setContent($content);

                // Get the expanded type and re-set the content
                $content = $tag->getType() . ' ' . $tag->getVariableName() . ' ' . $tag->getDescription();
                $tag->setContent(trim($content));
            }
        }
    }
protected function normalizeParams ( DocBlock $ phpdoc ) { //Get the return type and adjust them for beter autocomplete $ paramTags = $ phpdoc -> getTagsByName ( 'param' ) ; if ( $ paramTags ) { /** @var ParamTag $tag */ foreach ( $ paramTags as $ tag ) { // Convert the keywords $ content = $ this -> convertKeywords ( $ tag -> getContent ( ) ) ; $ tag -> setContent ( $ content ) ; // Get the expanded type and re-set the content $ content = $ tag -> getType ( ) . ' ' . $ tag -> getVariableName ( ) . ' ' . $ tag -> getDescription ( ) ; $ tag -> setContent ( trim ( $ content ) ) ; } } }
Normalize the parameters

@param DocBlock $phpdoc
Normalize the parameters