aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Base.php')
-rw-r--r--core/Command/Base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php
index 0af5981e942..b915ae2ae4a 100644
--- a/core/Command/Base.php
+++ b/core/Command/Base.php
@@ -149,7 +149,7 @@ class Base extends Command implements CompletionAwareInterface {
$this->interrupted = true;
}
- public function run(InputInterface $input, OutputInterface $output) {
+ public function run(InputInterface $input, OutputInterface $output): int {
// check if the php pcntl_signal functions are accessible
$this->php_pcntl_signal = function_exists('pcntl_signal');
if ($this->php_pcntl_signal) {