fix type casting in slugifier
This commit is contained in:
parent
8edbf0cc08
commit
c40c7e3362
|
@ -13,7 +13,7 @@ class Slugify
|
|||
{
|
||||
public function slugify($data): ?string
|
||||
{
|
||||
return $this->create()->slugify($data);
|
||||
return $this->create()->slugify((string) $data);
|
||||
}
|
||||
|
||||
protected function create(): BaseSlugify
|
||||
|
|
Loading…
Reference in a new issue