diff --git a/core/Command/Base.php b/core/Command/Base.php index abf9f95773a59..2581e273cb91e 100644 --- a/core/Command/Base.php +++ b/core/Command/Base.php @@ -161,7 +161,7 @@ protected function abortIfInterrupted() { * * Gives a chance to the command to properly terminate what it's doing */ - protected function cancelOperation() { + public function cancelOperation(): void { $this->interrupted = true; }