@@ -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 ) { |
@@ -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. |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use SMW\ParserData; |
6 | 6 | use SMW\DataValueFactory; |
7 | -use Parser; |
|
8 | 7 | use PPFrame; |
9 | 8 | use SMWPropertyValue as PropertyValue; |
10 | 9 |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * @param Parser $parser |
32 | 32 | * @param ProcessingResult $result |
33 | 33 | * |
34 | - * @return mixed |
|
34 | + * @return string |
|
35 | 35 | */ |
36 | 36 | public function handle( Parser $parser, ProcessingResult $result ) { |
37 | 37 | if ( $result->hasFatal() ) { |