mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:54:05 +00:00
Update src/Commands/ClearPendingTenants.php
Co-authored-by: lukinovec <lukinovec@gmail.com>
This commit is contained in:
parent
efb0c24392
commit
750fa975e1
1 changed files with 1 additions and 2 deletions
|
|
@ -27,8 +27,7 @@ class ClearPendingTenants extends Command
|
||||||
$olderThanHours = (int) $this->option('older-than-hours');
|
$olderThanHours = (int) $this->option('older-than-hours');
|
||||||
|
|
||||||
if ($olderThanDays && $olderThanHours) {
|
if ($olderThanDays && $olderThanHours) {
|
||||||
$this->components->error("Cannot use '--older-than-days' and '--older-than-hours' together");
|
$this->components->error("Cannot use '--older-than-days' and '--older-than-hours' together. Please, choose only one of these options.");
|
||||||
$this->components->error('Please, choose only one of these options.');
|
|
||||||
|
|
||||||
return 1; // Exit code for failure
|
return 1; // Exit code for failure
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue