src/Sentence.php
private static function isEndQuote($statement)
    {
        $trimmed = Multibyte::trim($statement);
        $first = mb_substr($statement, 0, 1);

        return in_array($trimmed, ['"', '\''])
            || (
                in_array($first, ['"', '\''])
                && mb_substr($statement, 1, 1) === ' '
                && ctype_lower(mb_substr($statement, 2, 1)) === true
            );
    }
private static function isEndQuote($statement)
    {
        $trimmed = Multibyte::trim($statement);
        $first = mb_substr($statement, 0, 1);

        return in_array($trimmed, ['"', '\''])
            || (
                in_array($first, ['"', '\''])
                && mb_substr($statement, 1, 1) === ' '
                && ctype_lower(mb_substr($statement, 2, 1)) === true
            );
    }
private static function isEndQuote ( $ statement ) { $ trimmed = Multibyte :: trim ( $ statement ) ; $ first = mb_substr ( $ statement , 0 , 1 ) ; return in_array ( $ trimmed , [ '"' , '\'' ] ) || ( in_array ( $ first , [ '"' , '\'' ] ) && mb_substr ( $ statement , 1 , 1 ) === ' ' && ctype_lower ( mb_substr ( $ statement , 2 , 1 ) ) === true ) ; }
Check if the entire string is a quotation mark or quote, then space, then lowercase.

@param $statement
@return bool
Check if the entire string is a quotation mark or quote then space then lowercase .