diff --git a/src/Concerns/HasSqids.php b/src/Concerns/HasSqids.php index da955db..fbe5387 100644 --- a/src/Concerns/HasSqids.php +++ b/src/Concerns/HasSqids.php @@ -18,7 +18,7 @@ protected function initializeHasSqids(): void $this->append(['sqid']); } - public function getSqidAttribute(): ?string + public function getSqidAttribute(): string { return Sqids::forModel(model: $this); }