@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * @since 3.0 |
| 19 | 19 | * |
| 20 | 20 | * @param array $modules |
| 21 | - * @param array $styleModules |
|
| 21 | + * @param string[] $styleModules |
|
| 22 | 22 | */ |
| 23 | 23 | public static function registerResources( array $modules = [], array $styleModules = [] ) { |
| 24 | 24 | |
@@ -115,6 +115,9 @@ discard block |
||
| 115 | 115 | return $this->printrequests; |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param boolean $hasTemplates |
|
| 120 | + */ |
|
| 118 | 121 | public function hasTemplates( $hasTemplates = null ) { |
| 119 | 122 | $ret = $this->hasTemplates; |
| 120 | 123 | if ( is_bool( $hasTemplates ) ) { |
@@ -258,6 +261,9 @@ discard block |
||
| 258 | 261 | return ( $force ) ? $this->mLinker : parent::getLinker( $firstcol ); |
| 259 | 262 | } |
| 260 | 263 | |
| 264 | + /** |
|
| 265 | + * @param string $id |
|
| 266 | + */ |
|
| 261 | 267 | private function addConfigToOutput( $id, $config ) { |
| 262 | 268 | |
| 263 | 269 | if ( $this->getParser()->getOutput() !== null ) { |