diff --git a/includes/Special/SpecialAbuseFilter.php b/includes/Special/SpecialAbuseFilter.php index 8b10748d4..40f37508f 100644 --- a/includes/Special/SpecialAbuseFilter.php +++ b/includes/Special/SpecialAbuseFilter.php @@ -29,7 +29,7 @@ use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewRevert; use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTestBatch; use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools; use Title; -use Wikimedia\ObjectFactory; +use Wikimedia\ObjectFactory\ObjectFactory; class SpecialAbuseFilter extends AbuseFilterSpecialPage { diff --git a/tests/phpunit/unit/Special/SpecialAbuseFilterTest.php b/tests/phpunit/unit/Special/SpecialAbuseFilterTest.php index d91c3668c..01bb14a20 100644 --- a/tests/phpunit/unit/Special/SpecialAbuseFilterTest.php +++ b/tests/phpunit/unit/Special/SpecialAbuseFilterTest.php @@ -14,7 +14,7 @@ use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewRevert; use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTestBatch; use MediaWiki\Extension\AbuseFilter\View\AbuseFilterViewTools; use MediaWikiUnitTestCase; -use Wikimedia\ObjectFactory; +use Wikimedia\ObjectFactory\ObjectFactory; /** * @coversDefaultClass \MediaWiki\Extension\AbuseFilter\Special\SpecialAbuseFilter