Skip to content

Commit 6016316

Browse files
authored
Merge pull request #5 from red-explosion/fix/sqid-attribute-return-type
fix: sqid attribute return type
2 parents d68d86e + 32f5492 commit 6016316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Concerns/HasSqids.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function initializeHasSqids(): void
1818
$this->append(['sqid']);
1919
}
2020

21-
public function getSqidAttribute(): ?string
21+
public function getSqidAttribute(): string
2222
{
2323
return Sqids::forModel(model: $this);
2424
}

0 commit comments

Comments
 (0)