From c40c7e33627b3b5d74215b58f181ee97d91d7509 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 27 Jan 2024 15:49:39 +0100 Subject: [PATCH] fix type casting in slugifier --- src/core/Slugify/Slugify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Slugify/Slugify.php b/src/core/Slugify/Slugify.php index 9985b2b..fc06c47 100644 --- a/src/core/Slugify/Slugify.php +++ b/src/core/Slugify/Slugify.php @@ -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