Merge pull request #40067 from nextcloud/fix-cancel-files-scan

This commit is contained in:
Daniel 2023-08-28 14:19:05 +02:00 committed by GitHub
commit c2d55ab5f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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