diff options
Diffstat (limited to 'includes/changes/RecentChange.php')
-rw-r--r-- | includes/changes/RecentChange.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php index 339596641a68..1dc8918b4dfc 100644 --- a/includes/changes/RecentChange.php +++ b/includes/changes/RecentChange.php @@ -699,7 +699,7 @@ class RecentChange implements Taggable { ]; DeferredUpdates::addCallableUpdate( - function () use ( $rc, $tags, $editResult ) { + static function () use ( $rc, $tags, $editResult ) { $rc->addTags( $tags ); $rc->setEditResult( $editResult ); $rc->save(); @@ -773,7 +773,7 @@ class RecentChange implements Taggable { ]; DeferredUpdates::addCallableUpdate( - function () use ( $rc, $tags ) { + static function () use ( $rc, $tags ) { $rc->addTags( $tags ); $rc->save(); }, |