diff options
author | Vitor Mattos <vitor@php.rio> | 2021-11-08 00:14:41 +0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2021-11-08 00:18:59 +0300 |
commit | 4a62f36c400ea2d96f95b178fa65ea81a62ba4b4 (patch) | |
tree | 4133855eef7b8406a60f91a24ddb384123e84266 | |
parent | 4c5eba3e1169d7b35ef0ad6e068db69e74447627 (diff) |
Return success on command
Signed-off-by: Vitor Mattos <vitor@php.rio>
-rw-r--r-- | lib/Command/Configure.php | 1 | ||||
-rw-r--r-- | lib/Command/Status.php | 1 | ||||
-rw-r--r-- | lib/Command/Test.php | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/Command/Configure.php b/lib/Command/Configure.php index aa5ae45..4aaa226 100644 --- a/lib/Command/Configure.php +++ b/lib/Command/Configure.php @@ -340,6 +340,7 @@ class Configure extends Command { $output->writeln("Invalid provider $provider"); break; } + return self::SUCCESS; } private function configureTelegram(InputInterface $input, OutputInterface $output) { diff --git a/lib/Command/Status.php b/lib/Command/Status.php index c028ed5..f37296f 100644 --- a/lib/Command/Status.php +++ b/lib/Command/Status.php @@ -57,5 +57,6 @@ class Status extends Command { $output->writeln('SMS gateway: ' . ($smsConfigured ? 'configured' : 'not configured')); $telegramConfigured = $this->telegramGateway->getConfig()->isComplete(); $output->writeln('Telegram gateway: ' . ($telegramConfigured ? 'configured' : 'not configured')); + return self::SUCCESS; } } diff --git a/lib/Command/Test.php b/lib/Command/Test.php index 9dde0ec..dc6749f 100644 --- a/lib/Command/Test.php +++ b/lib/Command/Test.php @@ -102,5 +102,6 @@ class Test extends Command { } $gateway->send($user, $identifier, 'Test'); + return self::SUCCESS; } } |