Merge "Fix StatsdDataFactory injection"

This commit is contained in:
jenkins-bot 2021-02-22 16:56:09 +00:00 committed by Gerrit Code Review
commit ea6a6ab4fc

View file

@ -138,7 +138,7 @@ class FilterRunnerFactory {
new EditStashCache(
$this->localCache,
// Bots do not use edit stashing, so avoid distorting the stats
$user->isBot() ? $this->statsdDataFactory : new NullStatsdDataFactory(),
$user->isBot() ? new NullStatsdDataFactory() : $this->statsdDataFactory,
$this->varManager,
$this->editStashLogger,
$title,