From 4f9abaaaa9490ebd56d30dcb7e9c9c31a5ac10e4 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 6 Feb 2019 20:56:17 +0100 Subject: Make $repairSteps & $dispatcher mandatory Signed-off-by: Daniel Kesselberg --- lib/private/Repair.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/Repair.php b/lib/private/Repair.php index 0d1209d552b..72995a96132 100644 --- a/lib/private/Repair.php +++ b/lib/private/Repair.php @@ -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; } -- cgit v1.2.3