src/Standards/BestIt/Sniffs/DocTags/TagSortingSniff.php
private function loadTagTokens(): array
    {
        $barrier = 0;
        $tokens = $this->docTagHelper->getTagTokens();

        $tokens = array_filter($tokens, function (array $token) use (&$barrier): bool {
            $allowed = true;

            if ($barrier) {
                if ($allowed = $token['column'] <= $barrier) {
                    $barrier = 0;
                }
            }

            if ($allowed && array_key_exists('contents', $token)) {
                $barrier = $token['column'];
            }

            return $allowed;
        });

        return $tokens;
    }
private function loadTagTokens(): array
    {
        $barrier = 0;
        $tokens = $this->docTagHelper->getTagTokens();

        $tokens = array_filter($tokens, function (array $token) use (&$barrier): bool {
            $allowed = true;

            if ($barrier) {
                if ($allowed = $token['column'] <= $barrier) {
                    $barrier = 0;
                }
            }

            if ($allowed && array_key_exists('contents', $token)) {
                $barrier = $token['column'];
            }

            return $allowed;
        });

        return $tokens;
    }
private function loadTagTokens ( ) : array { $ barrier = 0 ; $ tokens = $ this -> docTagHelper -> getTagTokens ( ) ; $ tokens = array_filter ( $ tokens , function ( array $ token ) use ( & $ barrier ) : bool { $ allowed = true ; if ( $ barrier ) { if ( $ allowed = $ token [ 'column' ] <= $ barrier ) { $ barrier = 0 ; } } if ( $ allowed && array_key_exists ( 'contents' , $ token ) ) { $ barrier = $ token [ 'column' ] ; } return $ allowed ; } ) ; return $ tokens ; }
Loads the tokens of this comment.

@return array
Loads the tokens of this comment .