@@ -166,7 +166,7 @@ |
||
166 | 166 | } |
167 | 167 | |
168 | 168 | /** |
169 | - * @return array the resource loader modules needed by this component |
|
169 | + * @return string[] the resource loader modules needed by this component |
|
170 | 170 | */ |
171 | 171 | public function getResourceLoaderModules() { |
172 | 172 | return $this->getComponent()->getResourceLoaderModules(); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | /** |
51 | 51 | * @param string[] $lines |
52 | 52 | * @param bool $inContentLanguage |
53 | - * @param null|string[] $itemData |
|
53 | + * @param string[] $itemData |
|
54 | 54 | */ |
55 | 55 | public function __construct( &$lines, $inContentLanguage = false, $itemData = null ) { |
56 | 56 | |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * |
129 | 129 | * @param string $rawLine |
130 | 130 | * |
131 | - * @return array |
|
131 | + * @return string[] |
|
132 | 132 | */ |
133 | 133 | protected function parseOneLine( $rawLine ) { |
134 | 134 | |
@@ -163,9 +163,9 @@ discard block |
||
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
166 | - * @param $linkDescription |
|
166 | + * @param string $linkDescription |
|
167 | 167 | * |
168 | - * @return array |
|
168 | + * @return string[] |
|
169 | 169 | */ |
170 | 170 | protected function extractHrefAndLinkText( $linkDescription ) { |
171 | 171 | |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * @param string[] $subItemData |
230 | 230 | * |
231 | - * @return null|string[] |
|
231 | + * @return string[] |
|
232 | 232 | */ |
233 | 233 | protected function createChildAndParseNextLine( $subItemData ) { |
234 | 234 | $child = new self( $this->lines, $this->inContentLanguage, $subItemData ); |