aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2023-08-27 17:29:26 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2023-08-27 17:55:20 +0200
commit84230059e97de07c721e61111f747f5e62c61e9a (patch)
treef3997e3e63f383a2b64e6c4611d71316e15a5718 /core/Command
parent8f4614be164b30790724f8d38d3dc4cc42f8498f (diff)
downloadnextcloud-server-84230059e97de07c721e61111f747f5e62c61e9a.tar.gz
nextcloud-server-84230059e97de07c721e61111f747f5e62c61e9a.zip
fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core/Command')
-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 abf9f95773a..2581e273cb9 100644
--- a/core/Command/Base.php
+++ b/core/Command/Base.php
@@ -161,7 +161,7 @@ class Base extends Command implements CompletionAwareInterface {
*
* Gives a chance to the command to properly terminate what it's doing
*/
- protected function cancelOperation() {
+ public function cancelOperation(): void {
$this->interrupted = true;
}