From a5fff1b7103895b2bbb2220c8526e3e4a08badbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 7 May 2023 01:37:57 +0200 Subject: [PATCH] fixup! add class that handles model with slug --- src/PersistentData/Model/ModelWithSlug.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersistentData/Model/ModelWithSlug.php b/src/PersistentData/Model/ModelWithSlug.php index e691f26..036bedb 100644 --- a/src/PersistentData/Model/ModelWithSlug.php +++ b/src/PersistentData/Model/ModelWithSlug.php @@ -18,7 +18,7 @@ abstract class ModelWithSlug extends Model $this->slug = $slug; } - public function getSlug(): string + public function getSlug(): ?string { return $this->slug; }