@@ -95,7 +95,6 @@ discard block |
||
95 | 95 | * $icon should be one of: 'warning' (default), 'info'. |
96 | 96 | * |
97 | 97 | * @param array $messages |
98 | - * @param string $icon Acts like an enum. Callers must ensure safety, since this value is used directly in the output. |
|
99 | 98 | * @param string $seperator |
100 | 99 | * @param boolean $escape Should the messages be escaped or not (ie when they already are) |
101 | 100 | * |
@@ -201,7 +200,7 @@ discard block |
||
201 | 200 | * @param mixed $namespace |
202 | 201 | * @param boolean $complete |
203 | 202 | * |
204 | - * @return true |
|
203 | + * @return boolean |
|
205 | 204 | * |
206 | 205 | * @codeCoverageIgnore |
207 | 206 | */ |
@@ -170,6 +170,9 @@ discard block |
||
170 | 170 | return $dependencySubjectList; |
171 | 171 | } |
172 | 172 | |
173 | + /** |
|
174 | + * @param DIWikiPage[] $subjects |
|
175 | + */ |
|
173 | 176 | private function doResolveDependenciesFromDescription( &$subjects, $description ) { |
174 | 177 | |
175 | 178 | if ( $description instanceof ValueDescription && $description->getDataItem() instanceof DIWikiPage ) { |
@@ -249,6 +252,9 @@ discard block |
||
249 | 252 | } |
250 | 253 | } |
251 | 254 | |
255 | + /** |
|
256 | + * @param DIWikiPage|null $subject |
|
257 | + */ |
|
252 | 258 | private function doMatchSubproperty( &$subjects, $subject, DIProperty $property ) { |
253 | 259 | |
254 | 260 | $subproperties = array(); |
@@ -66,7 +66,7 @@ |
||
66 | 66 | /** |
67 | 67 | * @since 1.9 |
68 | 68 | * |
69 | - * @return true |
|
69 | + * @return boolean |
|
70 | 70 | */ |
71 | 71 | public function process() { |
72 | 72 |
@@ -116,6 +116,10 @@ |
||
116 | 116 | ); |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $property |
|
121 | + * @param string $value |
|
122 | + */ |
|
119 | 123 | private function newDataValueForPagePropertyValue( $property, $value ) { |
120 | 124 | |
121 | 125 | $property = DIProperty::newFromUserLabel( $property ); |
@@ -144,7 +144,6 @@ |
||
144 | 144 | /** |
145 | 145 | * Returns RequestContext object |
146 | 146 | * |
147 | - * @param array $params |
|
148 | 147 | * |
149 | 148 | * @return RequestContext |
150 | 149 | */ |
@@ -81,7 +81,6 @@ |
||
81 | 81 | * |
82 | 82 | * @since 1.6 |
83 | 83 | * |
84 | - * @param SMWQueryResult $res |
|
85 | 84 | * |
86 | 85 | * @return string |
87 | 86 | */ |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * |
194 | 194 | * @since 1.9 |
195 | 195 | * |
196 | - * @return array |
|
196 | + * @return string[] |
|
197 | 197 | */ |
198 | 198 | protected function getModules() { |
199 | 199 | return array( |
@@ -211,7 +211,8 @@ discard block |
||
211 | 211 | * |
212 | 212 | * @since 1.9 |
213 | 213 | * |
214 | - * @return integer $showFactbox |
|
214 | + * @param string|null $showFactbox |
|
215 | + * @return string|null $showFactbox |
|
215 | 216 | * |
216 | 217 | * @return string|null |
217 | 218 | */ |
@@ -398,6 +399,9 @@ discard block |
||
398 | 399 | } |
399 | 400 | } |
400 | 401 | |
402 | + /** |
|
403 | + * @param \SMWDataValue $dataValue |
|
404 | + */ |
|
401 | 405 | private function getInfolink( $dataValue ) { |
402 | 406 | |
403 | 407 | if ( $dataValue->getProperty()->getKey() !== '_SOBJ' ) { |
@@ -168,6 +168,9 @@ |
||
168 | 168 | return $provider; |
169 | 169 | } |
170 | 170 | |
171 | + /** |
|
172 | + * @param \SMW\ParserOutput|null $parserOutput |
|
173 | + */ |
|
171 | 174 | private function findSemanticataFromOutput( $parserOutput ) { |
172 | 175 | |
173 | 176 | if ( method_exists( $parserOutput, 'getExtensionData' ) ) { |
@@ -147,6 +147,9 @@ |
||
147 | 147 | return $this->fetchFromParser(); |
148 | 148 | } |
149 | 149 | |
150 | + /** |
|
151 | + * @param string $text |
|
152 | + */ |
|
150 | 153 | protected function parseText( $text ) { |
151 | 154 | |
152 | 155 | $this->parserOutput = $this->parser->parse( |