Skip to content

Commit

Permalink
chore: Fix phpstan errors on IsTenant concern
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieread committed Nov 17, 2024
1 parent 5eb87ea commit 8bee328
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Database/Eloquent/Concerns/IsTenant.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ trait IsTenant
*/
public function getTenantIdentifier(): string
{
/** @phpstan-ignore return.type */
return $this->getAttribute($this->getTenantIdentifierName());
}

Expand Down Expand Up @@ -57,6 +58,7 @@ public function getTenantIdentifierName(): string
*/
public function getTenantKey(): int|string
{
/** @phpstan-ignore return.type */
return $this->getKey();
}

Expand Down

0 comments on commit 8bee328

Please sign in to comment.