mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
fix: make cancelOperation public
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
8f4614be16
commit
84230059e9
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