fixup! add class that handles model with slug

This commit is contained in:
Bence Pőcze 2023-05-07 01:37:57 +02:00
parent 1ef83ab57b
commit a5fff1b710
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -18,7 +18,7 @@ abstract class ModelWithSlug extends Model
$this->slug = $slug; $this->slug = $slug;
} }
public function getSlug(): string public function getSlug(): ?string
{ {
return $this->slug; return $this->slug;
} }