diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-26 16:24:16 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-26 16:24:16 +0300 |
commit | 97e96b56330373c42102847105248965ee76bff5 (patch) | |
tree | a4e60b9139344b8d1b641c960e6f723db80aac16 /lib/Command/ActiveCalls.php | |
parent | 5ac5190bb360e8ad24645db15bcf5a6f91ed80b8 (diff) |
Add return types to commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Command/ActiveCalls.php')
-rw-r--r-- | lib/Command/ActiveCalls.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/ActiveCalls.php b/lib/Command/ActiveCalls.php index 8a1b5f4f1..f79e3c876 100644 --- a/lib/Command/ActiveCalls.php +++ b/lib/Command/ActiveCalls.php @@ -50,7 +50,7 @@ class ActiveCalls extends Base { ->setDescription('Allows you to check if calls are currently in process'); } - protected function execute(InputInterface $input, OutputInterface $output): ?int { + protected function execute(InputInterface $input, OutputInterface $output): int { $query = $this->connection->getQueryBuilder(); $query->select($query->func()->count('*', 'num_calls')) |