diff options
Diffstat (limited to 'lib/private/Repair/Events/RepairAdvanceEvent.php')
-rw-r--r-- | lib/private/Repair/Events/RepairAdvanceEvent.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/private/Repair/Events/RepairAdvanceEvent.php b/lib/private/Repair/Events/RepairAdvanceEvent.php index 7602127cf41..174d4ec48cd 100644 --- a/lib/private/Repair/Events/RepairAdvanceEvent.php +++ b/lib/private/Repair/Events/RepairAdvanceEvent.php @@ -27,20 +27,19 @@ namespace OC\Repair\Events; use OCP\EventDispatcher\Event; class RepairAdvanceEvent extends Event { - // TODO Is that current step or step increment? - private int $current; + private int $increment; private string $description; public function __construct( - int $current, + int $increment, string $description ) { - $this->current = $current; + $this->increment = $increment; $this->description = $description; } - public function getCurrentStep(): int { - return $this->current; + public function getIncrement(): int { + return $this->increment; } public function getDescription(): string { |