mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 22:24:03 +00:00
Update CreatePendingTenants.php
This commit is contained in:
parent
cd70b57b83
commit
b73d047a39
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ class CreatePendingTenants extends Command
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $signature = 'tenants:pending {--count= The number of tenant to be in a pending state}';
|
protected $signature = 'tenants:pending {--count= : The number of tenant to be in a pending state}';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The console command description.
|
* The console command description.
|
||||||
|
|
@ -29,9 +29,9 @@ class CreatePendingTenants extends Command
|
||||||
*/
|
*/
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
$this->info('Deploying pendgin tenants.');
|
$this->info('Deploying pending tenants.');
|
||||||
|
|
||||||
$pendingObjectifCount = (int)config('tenancy.pending.count');
|
$pendingObjectifCount = (int) ($this->option('count') ?? config('tenancy.pending.count'));
|
||||||
|
|
||||||
$pendingCurrentCount = $this->getPendingTenantCount();
|
$pendingCurrentCount = $this->getPendingTenantCount();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue