fix: make cancelOperation public

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/40067/head
Daniel Kesselberg 2 years ago
parent 8f4614be16
commit 84230059e9
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
  1. 2
      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;
}

Loading…
Cancel
Save