Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git] / includes / skins / SkinApi.php
index 2fef220..6966ff7 100644 (file)
@@ -4,9 +4,7 @@
  * the usual skin elements but still using CSS, JS, and such via OutputPage and
  * ResourceLoader.
  *
- * Created on Sep 08, 2014
- *
- * Copyright © 2014 Brad Jorsch <bjorsch@wikimedia.org>
+ * Copyright © 2014 Wikimedia Foundation and contributors
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -32,7 +30,7 @@
  */
 class SkinApi extends SkinTemplate {
        public $skinname = 'apioutput';
-       public $template = 'SkinApiTemplate';
+       public $template = SkinApiTemplate::class;
 
        public function setupSkinUserCss( OutputPage $out ) {
                parent::setupSkinUserCss( $out );
@@ -42,7 +40,7 @@ class SkinApi extends SkinTemplate {
        // Skip work and hooks for stuff we don't use
 
        function buildSidebar() {
-               return array();
+               return [];
        }
 
        function getNewtalks() {
@@ -54,18 +52,18 @@ class SkinApi extends SkinTemplate {
        }
 
        public function getLanguages() {
-               return array();
+               return [];
        }
 
        protected function buildPersonalUrls() {
-               return array();
+               return [];
        }
 
        protected function buildContentNavigationUrls() {
-               return array();
+               return [];
        }
 
        protected function buildNavUrls() {
-               return array();
+               return [];
        }
 }