PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer::isCorrectlyFormatted PHP Method

isCorrectlyFormatted() private method

Is the last line of the short description correctly formatted?
private isCorrectlyFormatted ( string $content ) : boolean
$content string
return boolean
    private function isCorrectlyFormatted($content)
    {
        if (false !== strpos(strtolower($content), '{@inheritdoc}')) {
            return true;
        }
        return $content !== rtrim($content, '.。!?¡¿!?');
    }