fixup! add class that handles model with slug
This commit is contained in:
parent
1ef83ab57b
commit
a5fff1b710
@ -18,7 +18,7 @@ abstract class ModelWithSlug extends Model
|
||||
$this->slug = $slug;
|
||||
}
|
||||
|
||||
public function getSlug(): string
|
||||
public function getSlug(): ?string
|
||||
{
|
||||
return $this->slug;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user