Merge pull request #43513 from nextcloud/backport/40067/stable27

[stable27] fix: make cancelOperation public
This commit is contained in:
Git'Fellow 2024-02-12 12:58:27 +01:00 committed by GitHub
commit 0e6714dab9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}