Make $repairSteps & $dispatcher mandatory
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
0b58b0faf3
commit
4f9abaaaa9
|
@ -76,7 +76,7 @@ class Repair implements IOutput {
|
||||||
* @param IRepairStep[] $repairSteps array of RepairStep instances
|
* @param IRepairStep[] $repairSteps array of RepairStep instances
|
||||||
* @param EventDispatcherInterface $dispatcher
|
* @param EventDispatcherInterface $dispatcher
|
||||||
*/
|
*/
|
||||||
public function __construct($repairSteps = [], EventDispatcherInterface $dispatcher = null) {
|
public function __construct(array $repairSteps, EventDispatcherInterface $dispatcher) {
|
||||||
$this->repairSteps = $repairSteps;
|
$this->repairSteps = $repairSteps;
|
||||||
$this->dispatcher = $dispatcher;
|
$this->dispatcher = $dispatcher;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue