mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 17:48:40 -04:00
fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
7e1fc484fc
commit
d91e15244e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue