summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-10-02 23:38:05 +0200
committerJoas Schilling <coding@schilljs.com>2024-10-21 11:28:51 +0200
commitdbb669d03df789dd10f46721e749e717b4c638c6 (patch)
tree295147248529ff8d8b81974d5cab2c507cebfaba /core
parent7e5ca85f639b687eef527de8d4fe22d7677e66d2 (diff)
downloadnextcloud-server-dbb669d03df789dd10f46721e749e717b4c638c6.tar.gz
nextcloud-server-dbb669d03df789dd10f46721e749e717b4c638c6.zip
fix(command): Make method compatible with upstream class (backportable)
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core')
-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) {