Skip to content

Commit

Permalink
fix: make cancelOperation public
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb authored and backportbot[bot] committed Feb 10, 2024
1 parent 7e1fc48 commit d91e152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Command/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ protected function abortIfInterrupted() {
*
* Gives a chance to the command to properly terminate what it's doing
*/
protected function cancelOperation() {
public function cancelOperation(): void {
$this->interrupted = true;
}

Expand Down

0 comments on commit d91e152

Please sign in to comment.