From 73e498d24b08992a792d3d2abc79fa4d2d50a362 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 9 Sep 2017 12:03:21 +0200 Subject: [PATCH] Improve some parameter docs Change-Id: Iade09edaa5d10dfa68defc1735b1fb4f888855e3 --- SkinVector.php | 6 +++++- VectorTemplate.php | 4 ++-- phpcs.xml | 2 -- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/SkinVector.php b/SkinVector.php index 16f0950..f684891 100644 --- a/SkinVector.php +++ b/SkinVector.php @@ -41,7 +41,7 @@ class SkinVector extends SkinTemplate { ->makeConfig( 'vector' ); } - /** @inheritdoc */ + /** @inheritDoc */ public function getPageClasses( $title ) { $className = parent::getPageClasses( $title ); if ( $this->vectorConfig->get( 'VectorExperimentalPrintStyles' ) ) { @@ -98,6 +98,10 @@ class SkinVector extends SkinTemplate { /** * Override to pass our Config instance to it + * @param string $classname + * @param bool|string $repository + * @param bool|string $cache_dir + * @return QuickTemplate */ public function setupTemplate( $classname, $repository = false, $cache_dir = false ) { return new $classname( $this->vectorConfig ); diff --git a/VectorTemplate.php b/VectorTemplate.php index 8d04265..408c347 100644 --- a/VectorTemplate.php +++ b/VectorTemplate.php @@ -514,7 +514,7 @@ class VectorTemplate extends BaseTemplate { } /** - * @inheritdoc + * @inheritDoc */ public function makeLink( $key, $item, $options = [] ) { $html = parent::makeLink( $key, $item, $options ); @@ -526,7 +526,7 @@ class VectorTemplate extends BaseTemplate { } /** - * @inheritdoc + * @inheritDoc */ public function makeListItem( $key, $item, $options = [] ) { // For fancy styling of watch/unwatch star diff --git a/phpcs.xml b/phpcs.xml index a143456..b374cbf 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -2,8 +2,6 @@ - - .