mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 04:44:04 +00:00
Correct comments
This commit is contained in:
parent
a9146ae00d
commit
371b3836b6
3 changed files with 7 additions and 7 deletions
|
|
@ -55,8 +55,8 @@ trait HasPending
|
|||
|
||||
event(new CreatingPendingTenant($tenant));
|
||||
|
||||
// Update the pending_since value only after the model is created to ensure that
|
||||
// It's not marked as pending until finishing running the migrations, seeders, etc.
|
||||
// Update the pending_since value only after the tenant is created so it's
|
||||
// Not marked as pending until finishing running the migrations, seeders, etc.
|
||||
$tenant->update([
|
||||
'pending_since' => now()->timestamp,
|
||||
]);
|
||||
|
|
@ -73,7 +73,7 @@ trait HasPending
|
|||
static::createPending();
|
||||
}
|
||||
|
||||
// At this point, we can guarantee a pending tenant is available
|
||||
// A pending tenant is surely available at this point
|
||||
$tenant = static::onlyPending()->first();
|
||||
|
||||
event(new PullingPendingTenant($tenant));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue