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

        $lastCharacter = trim($this->commitMessage[0]){$this->getTitleLength() - 1};

        return '.' == $lastCharacter;
    }
public function hasTitleAFullStop(): bool
    {
        if (0 == $this->getTitleLength()) {
            return false;
        }

        $lastCharacter = trim($this->commitMessage[0]){$this->getTitleLength() - 1};

        return '.' == $lastCharacter;
    }
public function hasTitleAFullStop ( ) : bool { if ( 0 == $ this -> getTitleLength ( ) ) { return false ; } $ lastCharacter = trim ( $ this -> commitMessage [ 0 ] ) { $ this -> getTitleLength ( ) - 1 } ; return '.' == $ lastCharacter ; }
Title ends with a full stop.

@return bool
Title ends with a full stop .