src/Standards/BestIt/CodeSniffer/Helper/DocDescriptionHelper.php
private function fixDescriptionUcFirst(int $descriptionStartPtr): void
    {
        $descStartToken = $this->tokens[$descriptionStartPtr];

        $this->file->getFixer()->beginChangeset();

        $this->file->getFixer()->replaceToken(
            $descriptionStartPtr,
            ucfirst($descStartToken['content'])
        );

        $this->file->getFixer()->endChangeset();
    }
private function fixDescriptionUcFirst(int $descriptionStartPtr): void
    {
        $descStartToken = $this->tokens[$descriptionStartPtr];

        $this->file->getFixer()->beginChangeset();

        $this->file->getFixer()->replaceToken(
            $descriptionStartPtr,
            ucfirst($descStartToken['content'])
        );

        $this->file->getFixer()->endChangeset();
    }
private function fixDescriptionUcFirst ( int $ descriptionStartPtr ) : void { $ descStartToken = $ this -> tokens [ $ descriptionStartPtr ] ; $ this -> file -> getFixer ( ) -> beginChangeset ( ) ; $ this -> file -> getFixer ( ) -> replaceToken ( $ descriptionStartPtr , ucfirst ( $ descStartToken [ 'content' ] ) ) ; $ this -> file -> getFixer ( ) -> endChangeset ( ) ; }
Fixes the description uc first.

@param int $descriptionStartPtr Pointer to the description start

@return void
Fixes the description uc first .