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

Update src/Commands/ClearPendingTenants.php

Co-authored-by: lukinovec <lukinovec@gmail.com>
This commit is contained in:
Abrar Ahmad 2022-12-14 15:51:42 +05:00 committed by GitHub
parent efb0c24392
commit 750fa975e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} }