From 6805f39a305c32ffdee0980758c231ed6e244406 Mon Sep 17 00:00:00 2001 From: Thiemo Kreuz Date: Wed, 12 May 2021 10:47:18 +0200 Subject: Remove unused default values from class properties In all these cases the property is unconditionally set in the constructor. The extra initialisation is effectively dead code and an extra source of errors and confusion. Change-Id: Icae13390d5ca5c14e2754f3be4eb956dd7f54ac4 --- includes/libs/ReplacementArray.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/libs/ReplacementArray.php') diff --git a/includes/libs/ReplacementArray.php b/includes/libs/ReplacementArray.php index 46f9358b635d..d40c028a5056 100644 --- a/includes/libs/ReplacementArray.php +++ b/includes/libs/ReplacementArray.php @@ -22,7 +22,7 @@ * Wrapper around strtr() that holds replacements */ class ReplacementArray { - private $data = []; + private $data; /** * Create an object with the specified replacement array -- cgit v1.2.3