fix: make cancelOperation public

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2023-08-27 17:29:26 +02:00
parent 8f4614be16
commit 84230059e9
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614

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