Completed
Push — master ( 9eae06...a41cb5 )
by mw
16s
created
includes/datavalues/SMW_DV_Record.php 1 patch
Doc Comments   +9 added lines, -2 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
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 	 *
266 266
 	 * @since 1.6
267 267
 	 *
268
-	 * @param $diProperty mixed null or DIProperty object for which to retrieve the types
268
+	 * @param SMWDIProperty $diProperty mixed null or DIProperty object for which to retrieve the types
269 269
 	 *
270 270
 	 * @return array of DIProperty
271 271
 	 */
@@ -323,6 +323,10 @@  discard block
 block discarded – undo
323 323
 		return $result;
324 324
 	}
325 325
 
326
+	/**
327
+	 * @param integer $type
328
+	 * @param SMWDataValue $dataValue
329
+	 */
326 330
 	protected function makeValueOutputText( $type, $dataValue, $linker ) {
327 331
 		switch ( $type ) {
328 332
 			case 0:
@@ -338,6 +342,9 @@  discard block
 block discarded – undo
338 342
 		}
339 343
 	}
340 344
 
345
+	/**
346
+	 * @param string $value
347
+	 */
341 348
 	private function newContainerSemanticData( $value ) {
342 349
 
343 350
 		if ( $this->m_contextPage === null ) {
Please login to merge, or discard this patch.
src/DataValues/AbstractMultiValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
 	 *
96 96
 	 * @since 2.5
97 97
 	 *
98
-	 * @param string|integer $index
98
+	 * @param string $index
99 99
 	 *
100 100
 	 * @return DIProperty|null
101 101
 	 */
Please login to merge, or discard this patch.
src/DataValues/MonolingualTextValue.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@  discard block
 block discarded – undo
65 65
 	/**
66 66
 	 * @see AbstractMultiValue::getProperties
67 67
 	 *
68
-	 * @param DIProperty[] $properties
69 68
 	 */
70 69
 	public function getProperties() {
71 70
 		self::$properties;
@@ -251,6 +250,7 @@  discard block
 block discarded – undo
251 250
 	/**
252 251
 	 * @since 2.4
253 252
 	 *
253
+	 * @param string $languageCode
254 254
 	 * @return DataValue|null
255 255
 	 */
256 256
 	public function getTextValueByLanguage( $languageCode ) {
@@ -283,6 +283,9 @@  discard block
 block discarded – undo
283 283
 		return $dataValue;
284 284
 	}
285 285
 
286
+	/**
287
+	 * @param string $value
288
+	 */
286 289
 	private function newContainerSemanticData( $value ) {
287 290
 
288 291
 		if ( $this->m_contextPage === null ) {
Please login to merge, or discard this patch.