summaryrefslogtreecommitdiffstats
path: root/lib/private/Migration
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Migration')
-rw-r--r--lib/private/Migration/BackgroundRepair.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/Migration/BackgroundRepair.php b/lib/private/Migration/BackgroundRepair.php
index a873d23e7b2..7ef90301cf3 100644
--- a/lib/private/Migration/BackgroundRepair.php
+++ b/lib/private/Migration/BackgroundRepair.php
@@ -47,10 +47,7 @@ class BackgroundRepair extends TimedJob {
/** @var EventDispatcherInterface */
private $dispatcher;
- /**
- * @param EventDispatcherInterface $dispatcher
- */
- public function setDispatcher(EventDispatcherInterface $dispatcher): void {
+ public function __construct(EventDispatcherInterface $dispatcher) {
$this->dispatcher = $dispatcher;
}