summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-02-06 20:56:17 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-13 23:06:51 +0100
commit4f9abaaaa9490ebd56d30dcb7e9c9c31a5ac10e4 (patch)
tree5796356b2fa83d875ecfe98b89346e1ec998f0c2 /lib
parent0b58b0faf3f6aba4ec78935e21d4201048ccfcc9 (diff)
downloadnextcloud-server-4f9abaaaa9490ebd56d30dcb7e9c9c31a5ac10e4.tar.gz
nextcloud-server-4f9abaaaa9490ebd56d30dcb7e9c9c31a5ac10e4.zip
Make $repairSteps & $dispatcher mandatory
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Repair.php2
1 files changed, 1 insertions, 1 deletions
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;
}