mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
style
This commit is contained in:
@ -125,6 +125,6 @@ final class Str
|
||||
{
|
||||
$target = preg_replace('/[^a-zA-Z0-9]+/', '-', $target);
|
||||
|
||||
return strtolower(trim($target, '-'));
|
||||
return strtolower(trim((string) $target, '-'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user