Skip to content

Commit

Permalink
Merge pull request #5 from red-explosion/fix/sqid-attribute-return-type
Browse files Browse the repository at this point in the history
fix: sqid attribute return type
  • Loading branch information
bensherred authored May 18, 2024
2 parents d68d86e + 32f5492 commit 6016316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/HasSqids.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function initializeHasSqids(): void
$this->append(['sqid']);
}

public function getSqidAttribute(): ?string
public function getSqidAttribute(): string
{
return Sqids::forModel(model: $this);
}
Expand Down

0 comments on commit 6016316

Please sign in to comment.