@@ -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( |
@@ -264,6 +264,7 @@ discard block |
||
264 | 264 | * @param[in] $property SMWPropertyValue The property this value is linked to the subject with |
265 | 265 | * @param[in] $value SMWDataValue The actual value |
266 | 266 | * @param[in] $incoming bool If this is an incoming or outgoing link |
267 | + * @param boolean $incoming |
|
267 | 268 | * |
268 | 269 | * @return string HTML with the link to the article, browse, and search pages |
269 | 270 | */ |
@@ -337,6 +338,7 @@ discard block |
||
337 | 338 | * Creates the HTML for the bottom bar including the links with further navigation options. |
338 | 339 | * |
339 | 340 | * @param[in] $more bool Are there more inproperties to be displayed? |
341 | + * @param boolean $more |
|
340 | 342 | * @return string HTMl with the bottom bar |
341 | 343 | */ |
342 | 344 | private function displayBottom( $more ) { |
@@ -366,6 +368,9 @@ discard block |
||
366 | 368 | * @param[in] $out bool Should the linked to page include outgoing properties? |
367 | 369 | * @param[in] $in bool Should the linked to page include incoming properties? |
368 | 370 | * @param[in] $offset int What is the offset for the incoming properties? |
371 | + * @param boolean $out |
|
372 | + * @param boolean $in |
|
373 | + * @param integer $offset |
|
369 | 374 | * |
370 | 375 | * @return string HTML with the link to this page |
371 | 376 | */ |
@@ -110,7 +110,6 @@ discard block |
||
110 | 110 | * |
111 | 111 | * @since 1.9.0.2 |
112 | 112 | * |
113 | - * @param string $tableName |
|
114 | 113 | * |
115 | 114 | * @return string |
116 | 115 | */ |
@@ -165,6 +164,7 @@ discard block |
||
165 | 164 | * @param $conditions |
166 | 165 | * @param array $options |
167 | 166 | * @param array $joinConditions |
167 | + * @param string $fname |
|
168 | 168 | * |
169 | 169 | * @return ResultWrapper |
170 | 170 | * @throws UnexpectedValueException |
@@ -373,6 +373,7 @@ discard block |
||
373 | 373 | |
374 | 374 | /** |
375 | 375 | * @since 2.4 |
376 | + * @param string $sql |
|
376 | 377 | */ |
377 | 378 | public function queryWithAutoCommit( $sql, $fname = __METHOD__, $ignoreException = false ) { |
378 | 379 | |
@@ -447,6 +448,8 @@ discard block |
||
447 | 448 | * @see DatabaseBase::selectField |
448 | 449 | * |
449 | 450 | * @since 1.9.2 |
451 | + * @param string $table |
|
452 | + * @param string $fieldName |
|
450 | 453 | */ |
451 | 454 | public function selectField( $table, $fieldName, $conditions = '', $fname = __METHOD__, $options = array() ) { |
452 | 455 | return $this->readConnection()->selectField( $table, $fieldName, $conditions, $fname, $options ); |
@@ -456,6 +459,7 @@ discard block |
||
456 | 459 | * @see DatabaseBase::estimateRowCount |
457 | 460 | * |
458 | 461 | * @since 2.1 |
462 | + * @param string $table |
|
459 | 463 | */ |
460 | 464 | public function estimateRowCount( $table, $vars = '*', $conditions = '', $fname = __METHOD__, $options = array() ) { |
461 | 465 | return $this->readConnection()->estimateRowCount( |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | /** |
86 | 86 | * @since 2.5 |
87 | 87 | * |
88 | - * @param Title $title |
|
88 | + * @param Title|null $title |
|
89 | 89 | * @param array $parameters |
90 | 90 | */ |
91 | 91 | public function dispatchSearchTableUpdateJobFor( Title $title, $parameters = array() ) { |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * @since 2.3 |
97 | 97 | * |
98 | 98 | * @param string $type |
99 | - * @param Title $title |
|
99 | + * @param Title|null $title |
|
100 | 100 | * @param array $parameters |
101 | 101 | */ |
102 | 102 | public function dispatchJobRequestFor( $type, Title $title, $parameters = array() ) { |
@@ -128,6 +128,9 @@ discard block |
||
128 | 128 | return true; |
129 | 129 | } |
130 | 130 | |
131 | + /** |
|
132 | + * @param string $type |
|
133 | + */ |
|
131 | 134 | private function getDispatchableCallbackJobFor( $type ) { |
132 | 135 | |
133 | 136 | $jobFactory = ApplicationFactory::getInstance()->newJobFactory(); |
@@ -170,6 +173,9 @@ discard block |
||
170 | 173 | return $callback; |
171 | 174 | } |
172 | 175 | |
176 | + /** |
|
177 | + * @param string $type |
|
178 | + */ |
|
173 | 179 | private function doPreliminaryCheckForType( $type, array $parameters ) { |
174 | 180 | |
175 | 181 | if ( $type !== 'SMW\ParserCachePurgeJob' && $type !== 'SMW\UpdateJob' && $type !== 'SMW\SearchTableUpdateJob' ) { |
@@ -194,6 +200,10 @@ discard block |
||
194 | 200 | return self::$canConnectToUrl = $this->httpRequest->ping(); |
195 | 201 | } |
196 | 202 | |
203 | + /** |
|
204 | + * @param string $type |
|
205 | + * @param \Closure $dispatchableCallbackJob |
|
206 | + */ |
|
197 | 207 | private function doPostJobWith( $type, $title, $parameters, $dispatchableCallbackJob ) { |
198 | 208 | |
199 | 209 | $parameters['async-job'] = array( |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * @since 1.9 |
80 | 80 | * |
81 | - * @param ParserParameterProcessor $params |
|
81 | + * @param ParserParameterProcessor $parameters |
|
82 | 82 | * |
83 | 83 | * @return string|null |
84 | 84 | */ |
@@ -195,6 +195,9 @@ discard block |
||
195 | 195 | return $parameters; |
196 | 196 | } |
197 | 197 | |
198 | + /** |
|
199 | + * @param \SMWContainerSemanticData $semanticData |
|
200 | + */ |
|
198 | 201 | private function doAugmentSortKeyForWhenDisplayTitleIsAccessible( $semanticData ) { |
199 | 202 | |
200 | 203 | $sortkey = new DIProperty( DIProperty::TYPE_SORTKEY ); |
@@ -41,7 +41,7 @@ |
||
41 | 41 | /** |
42 | 42 | * @see DataValue::loadDataItem |
43 | 43 | * |
44 | - * @param SMWDataItem $dataitem |
|
44 | + * @param DataItem $dataItem |
|
45 | 45 | * |
46 | 46 | * @return boolean |
47 | 47 | */ |