This commit is contained in:
Nuno Maduro
2025-07-22 23:58:36 +01:00
parent f9901245f1
commit fe27012bbc
3 changed files with 4 additions and 10 deletions

View File

@ -125,6 +125,6 @@ final class Str
{
$target = preg_replace('/[^a-zA-Z0-9]+/', '-', $target);
return strtolower(trim($target, '-'));
return strtolower(trim((string) $target, '-'));
}
}