src/Standards/BestIt/Sniffs/DocPosProviderTrait.php
protected function getDocHelper(): DocHelper
    {
        if ($this->docHelper === null) {
            $this->docHelper = new DocHelper($this->getFile()->getBaseFile(), $this->getStackPos());
        }

        return $this->docHelper;
    }
protected function getDocHelper(): DocHelper
    {
        if ($this->docHelper === null) {
            $this->docHelper = new DocHelper($this->getFile()->getBaseFile(), $this->getStackPos());
        }

        return $this->docHelper;
    }
protected function getDocHelper ( ) : DocHelper { if ( $ this -> docHelper === null ) { $ this -> docHelper = new DocHelper ( $ this -> getFile ( ) -> getBaseFile ( ) , $ this -> getStackPos ( ) ) ; } return $ this -> docHelper ; }
Returns the helper for the doc block.

@return DocHelper
Returns the helper for the doc block .