src/Standards/BestIt/Sniffs/DocTags/ParamTagSniff.php
private function loadArgumentTokenOfTag(): array
    {
        // Give me the other tags of this doc block before this one.
        $tagPosBeforeThis = TokenHelper::findNextAll(
            $this->file->getBaseFile(),
            $this->register(),
            $this->file->findPrevious([T_DOC_COMMENT_OPEN_TAG], $this->stackPos),
            $this->stackPos - 1
        );

        $tagPosBeforeThis = array_filter($tagPosBeforeThis, function (int $position) {
            return $this->tokens[$position]['content'] === '@param';
        });

        return (array_values($this->varTokens)[count($tagPosBeforeThis)]) ?? [];
    }
private function loadArgumentTokenOfTag(): array
    {
        // Give me the other tags of this doc block before this one.
        $tagPosBeforeThis = TokenHelper::findNextAll(
            $this->file->getBaseFile(),
            $this->register(),
            $this->file->findPrevious([T_DOC_COMMENT_OPEN_TAG], $this->stackPos),
            $this->stackPos - 1
        );

        $tagPosBeforeThis = array_filter($tagPosBeforeThis, function (int $position) {
            return $this->tokens[$position]['content'] === '@param';
        });

        return (array_values($this->varTokens)[count($tagPosBeforeThis)]) ?? [];
    }
private function loadArgumentTokenOfTag ( ) : array { // Give me the other tags of this doc block before this one. $ tagPosBeforeThis = TokenHelper :: findNextAll ( $ this -> file -> getBaseFile ( ) , $ this -> register ( ) , $ this -> file -> findPrevious ( [ T_DOC_COMMENT_OPEN_TAG ] , $ this -> stackPos ) , $ this -> stackPos - 1 ) ; $ tagPosBeforeThis = array_filter ( $ tagPosBeforeThis , function ( int $ position ) { return $ this -> tokens [ $ position ] [ 'content' ] === '@param' ; } ) ; return ( array_values ( $ this -> varTokens ) [ count ( $ tagPosBeforeThis ) ] ) ?? [ ] ; }
Loads the function argument of this tag.

@return array
Loads the function argument of this tag .