Skip to content

Commit

Permalink
Use new ResourceLoader namespace
Browse files Browse the repository at this point in the history
ERM29303
  • Loading branch information
hslater committed Dec 22, 2023
1 parent f0a49f7 commit 1af3bf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ResourceLoader/LessVars.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

use Config;
use MediaWiki\MediaWikiServices;
use MediaWiki\ResourceLoader\Context as ResourceLoaderContext;
use MWStake\MediaWiki\Component\CommonUserInterface\LessVars as LessVarsObject;
use ResourceLoaderContext;
use ResourceLoaderFileModule;
use WebRequest;

class LessVars extends ResourceLoaderFileModule {

/**
*
* @param ResourceLoaderContext $context
* @return array
*/
Expand Down
3 changes: 1 addition & 2 deletions src/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Config;
use MediaWiki\MediaWikiServices;
use MediaWiki\ResourceLoader\Context as ResourceLoaderContext;
use OutputPage;
use ResourceLoaderContext;
use Skin;

class Setup {
Expand Down Expand Up @@ -63,7 +63,6 @@ public static function onBeforePageDisplay( OutputPage $out, Skin $skin ) {
}

/**
*
* @param ResourceLoaderContext $context
* @param Config $config
* @param array $callbackParams
Expand Down

0 comments on commit 1af3bf5

Please sign in to comment.