Use ::class for class name resolution

Available since php5.5

Change-Id: Ie71b7f9d289a34532f6e3e1f32ac25bf08b9903f
This commit is contained in:
Umherirrender committed 2019-03-02 20:11:12 +01:00
1 parent 1ab40133d6
commit 03bc19fab2
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -117,5 +117,5 @@ class ULSCompactLinksDisablePref extends Maintenance {
}
}
$maintClass = "ULSCompactLinksDisablePref";
$maintClass = ULSCompactLinksDisablePref::class;
require_once RUN_MAINTENANCE_IF_MAIN;