mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-09-23 18:28:58 +00:00
refactor(pwa): ♻️ better naming for manifest
This commit is contained in:
parent
e8be32f7c5
commit
01de2ec5f6
|
@ -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
|
||||
*
|
|
@ -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' );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue