public function isTitleCapitalised(): bool
    {
        if (0 == $this->getTitleLength()) {
            return false;
        }

        return $this->commitMessage[0][0]
        === strtoupper($this->commitMessage[0]){0};
    }
public function isTitleCapitalised(): bool
    {
        if (0 == $this->getTitleLength()) {
            return false;
        }

        return $this->commitMessage[0][0]
        === strtoupper($this->commitMessage[0]){0};
    }
public function isTitleCapitalised ( ) : bool { if ( 0 == $ this -> getTitleLength ( ) ) { return false ; } return $ this -> commitMessage [ 0 ] [ 0 ] === strtoupper ( $ this -> commitMessage [ 0 ] ) { 0 } ; }
Is the title capitalised.

@return bool
Is the title capitalised .