The return type could not be reliably inferred; please add a @return annotation.
Our type inference engine in quite powerful, but sometimes the code does not
provide enough clues to go by. In these cases we request you to add a @return
annotation as described here.
Loading history...
20
{
21
if (mb_strlen($value, $env->getCharset()) > $length)
22
{
23
if ($preserve)
24
{
25
// If breakpoint is on the last word, return the value without separator.
26
if (false === ($breakpoint = mb_strpos($value, ' ', $length, $env->getCharset())))
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.