1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 22:44:05 +00:00

Inline return

This commit is contained in:
Mark 2024-12-29 09:15:05 +01:00
parent a60cfd494f
commit c1679e6057
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873

View file

@ -141,9 +141,7 @@ class Tenancy
/** @var class-string<Tenant&Model> $class */
$class = config('tenancy.models.tenant');
$model = new $class;
return $model;
return new $class;
}
/** Name of the column used to relate models to tenants. */