refactor(pwa): ♻️ better naming for manifest

This commit is contained in:
alistair3149 2023-01-17 14:54:11 -05:00
parent e8be32f7c5
commit 01de2ec5f6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ use ApiFormatJson;
* T282500
* TODO: This should be merged to core
*/
class ApiFormatManifest extends ApiFormatJson {
class ApiFormatWebmanifest extends ApiFormatJson {
/**
* Return the proper content-type
*

View file

@ -149,6 +149,6 @@ class ApiWebappManifest extends ApiBase {
* @return ApiFormatManifest
*/
public function getCustomPrinter() {
return new ApiFormatManifest( $this->getMain(), 'json' );
return new ApiFormatWebmanifest( $this->getMain(), 'webmanifest' );
}
}