mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 15:50:34 +00:00
ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
This commit is contained in:
parent
37e563bff0
commit
7b9522b395
|
@ -44,7 +44,6 @@ class ApiWebappManifest extends ApiBase {
|
|||
* Constructor
|
||||
*/
|
||||
public function __construct() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -155,7 +154,7 @@ class ApiWebappManifest extends ApiBase {
|
|||
private function getShortcuts(): array {
|
||||
$specialPages = [ 'Search', 'Randompage', 'RecentChanges' ];
|
||||
|
||||
return array_map( function( $specialPage ) {
|
||||
return array_map( static function ( $specialPage ) {
|
||||
$title = SpecialPage::getSafeTitleFor( $specialPage );
|
||||
return [
|
||||
'name' => $title->getBaseText(),
|
||||
|
|
Loading…
Reference in a new issue