Browse Source

Make $repairSteps & $dispatcher mandatory

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tags/v16.0.0alpha1
Daniel Kesselberg 5 years ago
parent
commit
4f9abaaaa9
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/private/Repair.php

+ 1
- 1
lib/private/Repair.php View File

@@ -76,7 +76,7 @@ class Repair implements IOutput {
* @param IRepairStep[] $repairSteps array of RepairStep instances
* @param EventDispatcherInterface $dispatcher
*/
public function __construct($repairSteps = [], EventDispatcherInterface $dispatcher = null) {
public function __construct(array $repairSteps, EventDispatcherInterface $dispatcher) {
$this->repairSteps = $repairSteps;
$this->dispatcher = $dispatcher;
}

Loading…
Cancel
Save