Use ::class for class name resolution

Available since php5.5

Change-Id: Ib2a249e81f4039d015f12ebcce04326c847c7b13
This commit is contained in:
Umherirrender 2019-03-03 15:14:54 +01:00
parent d5897c7995
commit 328e2f2c3b

View file

@ -102,5 +102,5 @@ class DummyTest extends Maintenance {
} }
} }
$maintClass = 'DummyTest'; $maintClass = DummyTest::class;
require_once RUN_MAINTENANCE_IF_MAIN; require_once RUN_MAINTENANCE_IF_MAIN;