diff options
author | Timo Tijhof <krinkle@fastmail.com> | 2023-07-13 02:39:09 +0100 |
---|---|---|
committer | Krinkle <krinkle@fastmail.com> | 2023-07-13 01:52:57 +0000 |
commit | e9871da9fa2e986b00f6467c49f34b1006e54bec (patch) | |
tree | ade327db990d75243138f30b97eb6fb17f4e1ff9 /tests/phpunit/includes/ResourceLoader | |
parent | 0efb75c1694a7b868623111aa8fdf2d0d2841804 (diff) | |
download | mediawikicore-e9871da9fa2e986b00f6467c49f34b1006e54bec.tar.gz mediawikicore-e9871da9fa2e986b00f6467c49f34b1006e54bec.zip |
ResourceLoader: Remove unused rasterized URL in ImageModule::getCssDeclarations
The code appeared such that `getUrl(,'rasterized')` is still in active
use and somehow exposed, but it wasn't. Remove it as such, since the
parameter isn't used.
Bug: T329127
Bug: T321394
Change-Id: I32209b5c7628eea874dc0dbdb0bb361098fd2da8
Diffstat (limited to 'tests/phpunit/includes/ResourceLoader')
-rw-r--r-- | tests/phpunit/includes/ResourceLoader/ImageModuleTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/ResourceLoader/ImageModuleTest.php b/tests/phpunit/includes/ResourceLoader/ImageModuleTest.php index ba758fca1273..878dafcc8aef 100644 --- a/tests/phpunit/includes/ResourceLoader/ImageModuleTest.php +++ b/tests/phpunit/includes/ResourceLoader/ImageModuleTest.php @@ -303,7 +303,7 @@ class ImageModuleTestable extends ImageModule { * Replace with a stub to make test cases easier to write. * @inheritDoc */ - protected function getCssDeclarations( $primary, $fallback ): array { + protected function getCssDeclarations( $primary ): array { return [ '...' ]; } } |