PhpCsFixer\Fixer\Phpdoc\PhpdocSummaryFixer::isCorrectlyFormatted PHP Метод

isCorrectlyFormatted() приватный Метод

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