Completed
Push — master ( 2472c5...a814e8 )
by mw
35:03
created
includes/datavalues/SMW_DV_Record.php 2 patches
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @param string $value
61 61
 	 *
62
-	 * @return array
62
+	 * @return string[]
63 63
 	 */
64 64
 	public function getValuesFromString( $value ) {
65 65
 		// #664 / T17732
@@ -280,6 +280,10 @@  discard block
 block discarded – undo
280 280
 		return $result;
281 281
 	}
282 282
 
283
+	/**
284
+	 * @param integer $type
285
+	 * @param SMWDataValue $dataValue
286
+	 */
283 287
 	protected function makeValueOutputText( $type, $dataValue, $linker ) {
284 288
 		switch ( $type ) {
285 289
 			case 0:
@@ -295,6 +299,9 @@  discard block
 block discarded – undo
295 299
 		}
296 300
 	}
297 301
 
302
+	/**
303
+	 * @param string $value
304
+	 */
298 305
 	private function newContainerSemanticData( $value ) {
299 306
 
300 307
 		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
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use SMWDataItem as DataItem;
13 13
 use SMWDataValue as DataValue;
14 14
 use SMWDIContainer as DIContainer;
15
-use SMWPropertyListValue as PropertyListValue;
16 15
 
17 16
 /**
18 17
  * ReferenceValue allows to define additional DV to describe the state of a
Please login to merge, or discard this patch.
src/DataValues/ReferenceValue.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use SMWDataItem as DataItem;
13 13
 use SMWDataValue as DataValue;
14 14
 use SMWDIContainer as DIContainer;
15
-use SMWPropertyListValue as PropertyListValue;
16 15
 
17 16
 /**
18 17
  * ReferenceValue allows to define additional DV to describe the state of a
Please login to merge, or discard this patch.
src/PropertySpecificationLookup.php 1 patch
Doc Comments   +16 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	 *
78 78
 	 * @param DIProperty $property
79 79
 	 *
80
-	 * @return false|DataItem
80
+	 * @return \SMWDataItem
81 81
 	 */
82 82
 	public function getFieldListBy( DIProperty $property ) {
83 83
 
@@ -383,6 +383,10 @@  discard block
 block discarded – undo
383 383
 		return $localPropertyDescription;
384 384
 	}
385 385
 
386
+	/**
387
+	 * @param DIProperty $property
388
+	 * @param string $languageCode
389
+	 */
386 390
 	private function getPredefinedPropertyDescription( $property, $linker, $languageCode ) {
387 391
 
388 392
 		$description = '';
@@ -411,6 +415,10 @@  discard block
 block discarded – undo
411 415
 		return $message;
412 416
 	}
413 417
 
418
+	/**
419
+	 * @param DIProperty $property
420
+	 * @param string $languageCode
421
+	 */
414 422
 	private function findLocalPropertyDescription( $property, $linker, $languageCode ) {
415 423
 
416 424
 		$text = '';
@@ -428,6 +436,10 @@  discard block
 block discarded – undo
428 436
 		return $text;
429 437
 	}
430 438
 
439
+	/**
440
+	 * @param DIProperty $property
441
+	 * @param string $languageCode
442
+	 */
431 443
 	private function findPreferredPropertyLabel( $property, $languageCode ) {
432 444
 
433 445
 		$text = '';
@@ -445,6 +457,9 @@  discard block
 block discarded – undo
445 457
 		return $text;
446 458
 	}
447 459
 
460
+	/**
461
+	 * @param DIProperty $property
462
+	 */
448 463
 	private function findTextValueByLanguage( $dataItems, $property, $languageCode ) {
449 464
 
450 465
 		if ( $dataItems === null || $dataItems === array() ) {
Please login to merge, or discard this patch.