aboutsummaryrefslogtreecommitdiffstats
path: root/includes/MovePage.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/MovePage.php')
-rw-r--r--includes/MovePage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/MovePage.php b/includes/MovePage.php
index cdc994cab663..9c3d5bd1d2d7 100644
--- a/includes/MovePage.php
+++ b/includes/MovePage.php
@@ -154,7 +154,7 @@ class MovePage {
$this->oldTitle = $oldTitle;
$this->newTitle = $newTitle;
- $services = function () {
+ $services = static function () {
// BC hack. Use a closure so this can be unit-tested.
return MediaWikiServices::getInstance();
};