src/Standards/BestIt/Sniffs/Commenting/AbstractDocSniff.php
private function fixDocCommentUcFirst(int $position, array $token): void
    {
        $this->file->fixer->beginChangeset();
        $this->file->fixer->replaceToken($position, ucfirst($token['content']));
        $this->file->fixer->endChangeset();
    }
private function fixDocCommentUcFirst(int $position, array $token): void
    {
        $this->file->fixer->beginChangeset();
        $this->file->fixer->replaceToken($position, ucfirst($token['content']));
        $this->file->fixer->endChangeset();
    }
private function fixDocCommentUcFirst ( int $ position , array $ token ) : void { $ this -> file -> fixer -> beginChangeset ( ) ; $ this -> file -> fixer -> replaceToken ( $ position , ucfirst ( $ token [ 'content' ] ) ) ; $ this -> file -> fixer -> endChangeset ( ) ; }
Fixes the first letter of the doc comment, which must be uppercase.

@param int $position
@param array $token

@return void
Fixes the first letter of the doc comment which must be uppercase .