@@ -196,6 +196,12 @@ discard block |
||
196 | 196 | return true; |
197 | 197 | } |
198 | 198 | |
199 | + /** |
|
200 | + * @param string $property |
|
201 | + * @param RequestOptions $requestOptions |
|
202 | + * |
|
203 | + * @return \SMWRequestOptions|null |
|
204 | + */ |
|
199 | 205 | private function doModifyRequestOptionsWith( $property, $requestOptions ) { |
200 | 206 | |
201 | 207 | if ( $property === '' ) { |
@@ -279,6 +285,9 @@ discard block |
||
279 | 285 | ); |
280 | 286 | } |
281 | 287 | |
288 | + /** |
|
289 | + * @param string $label |
|
290 | + */ |
|
282 | 291 | private function matchPropertiesToPreferredLabelBy( $label ) { |
283 | 292 | |
284 | 293 | $propertyLabelFinder = ApplicationFactory::getInstance()->getPropertyLabelFinder(); |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use SMW\RequestOptions; |
8 | 8 | use SMW\Store; |
9 | 9 | use SMW\StringCondition; |
10 | -use SMW\Localizer; |
|
11 | 10 | use SMW\ApplicationFactory; |
12 | 11 | |
13 | 12 | /** |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * |
38 | 38 | * @param string &$data |
39 | 39 | * |
40 | - * @return true |
|
40 | + * @return boolean |
|
41 | 41 | */ |
42 | 42 | public function performUpdate( &$data ) { |
43 | 43 |
@@ -97,7 +97,7 @@ |
||
97 | 97 | * for all at once is not feasible hence the iterative process of creating |
98 | 98 | * batches that run through the job scheduler. |
99 | 99 | * |
100 | - * @param array|string $idList |
|
100 | + * @param boolean $idList |
|
101 | 101 | */ |
102 | 102 | private function findEmbeddedQueryTargetLinksBatches( $idList, $logger ) { |
103 | 103 |
@@ -140,6 +140,9 @@ |
||
140 | 140 | return $this->updateStore( $parserData ); |
141 | 141 | } |
142 | 142 | |
143 | + /** |
|
144 | + * @param \SMW\ParserData $parserData |
|
145 | + */ |
|
143 | 146 | private function updateStore( $parserData ) { |
144 | 147 | |
145 | 148 | $eventHandler = EventHandler::getInstance(); |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * @since 2.4 |
39 | 39 | * |
40 | - * @param string $eventTypes |
|
40 | + * @param string $eventType |
|
41 | 41 | */ |
42 | 42 | public function registerLoggableEventType( $eventType ) { |
43 | 43 | $this->eventTypes[$eventType] = true; |
@@ -73,6 +73,9 @@ discard block |
||
73 | 73 | return $logEntry->insert(); |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param string $type |
|
78 | + */ |
|
76 | 79 | protected function newManualLogEntryForType( $type ) { |
77 | 80 | |
78 | 81 | if ( $this->logEntry !== null ) { |
@@ -348,6 +348,7 @@ discard block |
||
348 | 348 | * @param[in] $property SMWPropertyValue The property this value is linked to the subject with |
349 | 349 | * @param[in] $value DataValue The actual value |
350 | 350 | * @param[in] $incoming bool If this is an incoming or outgoing link |
351 | + * @param boolean $incoming |
|
351 | 352 | * |
352 | 353 | * @return string HTML with the link to the article, browse, and search pages |
353 | 354 | */ |
@@ -429,6 +430,7 @@ discard block |
||
429 | 430 | * Creates the HTML for the bottom bar including the links with further navigation options. |
430 | 431 | * |
431 | 432 | * @param[in] $more bool Are there more inproperties to be displayed? |
433 | + * @param boolean $more |
|
432 | 434 | * @return string HTMl with the bottom bar |
433 | 435 | */ |
434 | 436 | private function displayBottom( $more ) { |
@@ -459,6 +461,9 @@ discard block |
||
459 | 461 | * @param[in] $out bool Should the linked to page include outgoing properties? |
460 | 462 | * @param[in] $in bool Should the linked to page include incoming properties? |
461 | 463 | * @param[in] $offset int What is the offset for the incoming properties? |
464 | + * @param boolean $out |
|
465 | + * @param boolean $in |
|
466 | + * @param integer $offset |
|
462 | 467 | * |
463 | 468 | * @return string HTML with the link to this page |
464 | 469 | */ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace SMW\MediaWiki\Specials\Browse; |
4 | 4 | |
5 | 5 | use SMW\SemanticData; |
6 | -use SMW\ApplicationFactory; |
|
7 | 6 | use SMW\DataValueFactory; |
8 | 7 | use SMW\Localizer; |
9 | 8 | use SMW\DIProperty; |
@@ -97,6 +97,9 @@ discard block |
||
97 | 97 | $this->addExternalHelpLinks(); |
98 | 98 | } |
99 | 99 | |
100 | + /** |
|
101 | + * @param boolean $isEmptyRequest |
|
102 | + */ |
|
100 | 103 | private function getHtml( $webRequest, $isEmptyRequest ) { |
101 | 104 | |
102 | 105 | if ( $isEmptyRequest && !$this->including() ) { |
@@ -183,6 +186,9 @@ discard block |
||
183 | 186 | return $html; |
184 | 187 | } |
185 | 188 | |
189 | + /** |
|
190 | + * @param \SMW\Settings $settings |
|
191 | + */ |
|
186 | 192 | private function newHtmlContentsBuilder( $webRequest, $settings ) { |
187 | 193 | |
188 | 194 | $htmlContentsBuilder = new HtmlContentsBuilder( |
@@ -4,9 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\ApplicationFactory; |
6 | 6 | use SMW\DataValueFactory; |
7 | -use SMW\DIProperty; |
|
8 | -use SMW\Localizer; |
|
9 | -use SMW\SemanticData; |
|
10 | 7 | use SMW\UrlEncoder; |
11 | 8 | use SMW\MediaWiki\Specials\Browse\HtmlContentsBuilder; |
12 | 9 | use SMW\Message; |
@@ -181,6 +181,9 @@ |
||
181 | 181 | return array( $properties, $value, $valueCaption ); |
182 | 182 | } |
183 | 183 | |
184 | + /** |
|
185 | + * @param string $value |
|
186 | + */ |
|
184 | 187 | private function setAnnotation( $value ) { |
185 | 188 | |
186 | 189 | switch ( $value ) { |
@@ -52,7 +52,6 @@ discard block |
||
52 | 52 | * |
53 | 53 | * @since 1.9 |
54 | 54 | * |
55 | - * @param array $params |
|
56 | 55 | * |
57 | 56 | * @return string|null |
58 | 57 | */ |
@@ -154,6 +153,9 @@ discard block |
||
154 | 153 | return $query; |
155 | 154 | } |
156 | 155 | |
156 | + /** |
|
157 | + * @param \SMWQuery $query |
|
158 | + */ |
|
157 | 159 | private function addQueryProfile( $query ) { |
158 | 160 | |
159 | 161 | // If the smwgQueryProfiler is marked with FALSE then just don't create a profile. |