Completed
Push — master ( f5d374...685013 )
by mw
47:54 queued 25:05
created
src/Exporter/ResourceBuilders/PropertyDescriptionValueResourceBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Exporter\ResourceBuilders;
4 4
 
5
-use SMW\Exporter\ResourceBuilder;
6 5
 use SMW\DIProperty;
7 6
 use SMWExporter as Exporter;
8 7
 use SMW\DataValueFactory;
Please login to merge, or discard this patch.
src/DataValues/MonolingualTextValue.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@  discard block
 block discarded – undo
67 67
 	/**
68 68
 	 * @see AbstractMultiValue::getProperties
69 69
 	 *
70
-	 * @param DIProperty[] $properties
71 70
 	 */
72 71
 	public function getProperties() {
73 72
 		self::$properties;
@@ -78,6 +77,7 @@  discard block
 block discarded – undo
78 77
 	 *
79 78
 	 * @param $userValue
80 79
 	 * @param string $languageCode
80
+	 * @param string $text
81 81
 	 *
82 82
 	 * @return string
83 83
 	 */
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 	/**
278 278
 	 * @since 2.5
279 279
 	 *
280
-	 * @return array
280
+	 * @return string
281 281
 	 */
282 282
 	public function toArray() {
283 283
 
@@ -325,6 +325,9 @@  discard block
 block discarded – undo
325 325
 		return $list['_TEXT'] . '@' . $list['_LCODE'];
326 326
 	}
327 327
 
328
+	/**
329
+	 * @param string $value
330
+	 */
328 331
 	private function newContainerSemanticData( $value ) {
329 332
 
330 333
 		if ( $this->m_contextPage === null ) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use SMW\DIProperty;
10 10
 use SMW\DIWikiPage;
11 11
 use SMW\Localizer;
12
-use SMW\StringCondition;
13 12
 use SMWContainerSemanticData as ContainerSemanticData;
14 13
 use SMWDataItem as DataItem;
15 14
 use SMWDataValue as DataValue;
Please login to merge, or discard this patch.
src/Exporter/ResourceBuilders/PreferredPropertyLabelResourceBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace SMW\Exporter\ResourceBuilders;
4 4
 
5
-use SMW\Exporter\ResourceBuilder;
6 5
 use SMW\DIProperty;
7 6
 use SMWExporter as Exporter;
8 7
 use SMW\DataValueFactory;
Please login to merge, or discard this patch.
src/MediaWiki/Api/PropertyListByApiRequest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -196,6 +196,12 @@  discard block
 block discarded – undo
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 === '' ) {
@@ -282,6 +288,9 @@  discard block
 block discarded – undo
282 288
 		);
283 289
 	}
284 290
 
291
+	/**
292
+	 * @param string $label
293
+	 */
285 294
 	private function matchPropertiesToPreferredLabelBy( $label ) {
286 295
 
287 296
 		$propertyLabelFinder = ApplicationFactory::getInstance()->newPropertyLabelFinder();
Please login to merge, or discard this patch.
src/PropertyLabelFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 	/**
178 178
 	 * @since 2.2
179 179
 	 *
180
-	 * @return array
180
+	 * @return string[]
181 181
 	 */
182 182
 	public function getErrors() {
183 183
 		return $this->errors;
Please login to merge, or discard this patch.
src/PropertySpecificationLookup.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -346,6 +346,9 @@  discard block
 block discarded – undo
346 346
 		return $localPropertyDescription;
347 347
 	}
348 348
 
349
+	/**
350
+	 * @param DIProperty $property
351
+	 */
349 352
 	private function getPredefinedPropertyDescription( $property, $linker ) {
350 353
 
351 354
 		$description = '';
@@ -368,6 +371,9 @@  discard block
 block discarded – undo
368 371
 		return $message;
369 372
 	}
370 373
 
374
+	/**
375
+	 * @param DIProperty $property
376
+	 */
371 377
 	private function tryToFindLocalPropertyDescription( $property, $linker ) {
372 378
 
373 379
 		$text = '';
@@ -385,6 +391,9 @@  discard block
 block discarded – undo
385 391
 		return $text;
386 392
 	}
387 393
 
394
+	/**
395
+	 * @param DIProperty $property
396
+	 */
388 397
 	private function findPreferredPropertyLabel( $property ) {
389 398
 
390 399
 		$text = '';
@@ -402,6 +411,9 @@  discard block
 block discarded – undo
402 411
 		return $text;
403 412
 	}
404 413
 
414
+	/**
415
+	 * @param DIProperty $property
416
+	 */
405 417
 	private function findTextValueByLanguage( $dataItems, $property ) {
406 418
 
407 419
 		if ( $dataItems === null || $dataItems === array() ) {
Please login to merge, or discard this patch.
includes/query/SMW_Query.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,6 +215,9 @@  discard block
 block discarded – undo
215 215
 		$this->errors = array_merge( $this->errors, $errors );
216 216
 	}
217 217
 
218
+	/**
219
+	 * @param string $querystring
220
+	 */
218 221
 	public function setQueryString( $querystring ) {
219 222
 		$this->queryString = $querystring;
220 223
 	}
@@ -223,7 +226,7 @@  discard block
 block discarded – undo
223 226
 	 * @since 2.5
224 227
 	 *
225 228
 	 * @param string|integer $key
226
-	 * @param mixed $value
229
+	 * @param double $value
227 230
 	 */
228 231
 	public function setOption( $key, $value ) {
229 232
 		$this->options[$key] = $value;
@@ -309,7 +312,7 @@  discard block
 block discarded – undo
309 312
 	 *
310 313
 	 * @param integer $limit
311 314
 	 *
312
-	 * @return Query
315
+	 * @return SMWQuery
313 316
 	 */
314 317
 	public function setUnboundLimit( $limit ) {
315 318
 		$this->limit = (int)$limit;
Please login to merge, or discard this patch.
src/QueryFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 	/**
83 83
 	 * @since 2.4
84 84
 	 *
85
-	 * @param integer|boolean $queryFeatures
85
+	 * @param integer $queryFeatures
86 86
 	 *
87 87
 	 * @return QueryParser
88 88
 	 */
Please login to merge, or discard this patch.
tests/phpunit/Integration/Query/SortableQueryDBIntegrationTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -122,6 +122,9 @@  discard block
 block discarded – undo
122 122
 		);
123 123
 	}
124 124
 
125
+	/**
126
+	 * @param DIProperty $property
127
+	 */
125 128
 	public function createQueryForSamplePagesThatContain( $property, array &$expectedSubjects ) {
126 129
 
127 130
 		foreach ( $expectedSubjects as $key => $expectedSubject ) {
@@ -159,6 +162,9 @@  discard block
 block discarded – undo
159 162
 		return $query;
160 163
 	}
161 164
 
165
+	/**
166
+	 * @param \SMWDIWikiPage[] $results
167
+	 */
162 168
 	private function assertResultOrder( $expected, $results ) {
163 169
 
164 170
 		$hasSameOrder = true;
Please login to merge, or discard this patch.