mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:34:03 +00:00
add todo
This commit is contained in:
parent
9078280a44
commit
db1dc334a6
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ class Tenancy
|
|||
*/
|
||||
public static function find(int|string $id): Tenant|null
|
||||
{
|
||||
// todo update all syntax like this once we're fully on PHP 8.2
|
||||
/** @var (Tenant&Model)|null */
|
||||
$tenant = static::model()->where(static::model()->getTenantKeyName(), $id)->first();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue