protected function truncateText(string $string, $maxLength = 140): string
{
return substr($string, 0, strpos(wordwrap($string, $maxLength), PHP_EOL));
}
protected function truncateText(string $string, $maxLength = 140): string
{
return substr($string, 0, strpos(wordwrap($string, $maxLength), PHP_EOL));
}