Completed
Push — PeterTheOne-patch-3 ( 8fe15b...02a78f )
by Jeroen De
12:21 queued 12:15
created
src/forminputs/SM_FormInput.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * 
46 46
 	 * @since 1.0
47 47
 	 * 
48
-	 * @return array
48
+	 * @return ParamProcessor\IParamDefinition[]
49 49
 	 */
50 50
 	protected function getParameterInfo() {
51 51
 		$params = ParamDefinition::getCleanDefinitions( MapsMapper::getCommonParameters() );
@@ -132,6 +132,9 @@  discard block
 block discarded – undo
132 132
 		}			
133 133
 	}
134 134
 
135
+	/**
136
+	 * @param string $inputName
137
+	 */
135 138
 	private function getMapOutput( array $params, $inputName ) {
136 139
 		global $wgParser;
137 140
 
@@ -283,7 +286,7 @@  discard block
 block discarded – undo
283 286
 	/**
284 287
 	 * @since 1.0
285 288
 	 * 
286
-	 * @return array of string
289
+	 * @return string[] of string
287 290
 	 */
288 291
 	protected function getResourceModules() {
289 292
 		return array( 'ext.sm.forminputs' );
Please login to merge, or discard this patch.
src/queryprinters/SM_MapPrinter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -243,6 +243,10 @@
 block discarded – undo
243 243
 		}
244 244
 	}
245 245
 
246
+	/**
247
+	 * @param string $iconUrl
248
+	 * @param string $visitedIconUrl
249
+	 */
246 250
 	protected function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) {
247 251
 		/**
248 252
 		 * @var Parser $wgParser
Please login to merge, or discard this patch.
src/queryprinters/SM_QueryHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 	/**
278 278
 	 * @since 2.0
279 279
 	 *
280
-	 * @return array
280
+	 * @return Element[]
281 281
 	 */
282 282
 	public function getShapes() {
283 283
 		$this->findShapes();
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
 	 * @since 1.0
420 420
 	 *
421 421
 	 * @param SMWDataValue $object
422
-	 * @param SMWPrintRequest $printRequest
422
+	 * @param SMW\Query\PrintRequest $printRequest
423 423
 	 *
424 424
 	 * @return string
425 425
 	 */
@@ -555,7 +555,7 @@  discard block
 block discarded – undo
555 555
 	 *
556 556
 	 * @since 0.7.3
557 557
 	 *
558
-	 * @param array $row
558
+	 * @param SMWResultArray[] $row
559 559
 	 *
560 560
 	 * @return string
561 561
 	 */
Please login to merge, or discard this patch.
src/SM_AreaValueDescription.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
 		$this->bounds = $this->getBoundingBox();
62 62
 	}
63 63
 
64
+	/**
65
+	 * @return null|SMW\DIProperty
66
+	 */
64 67
 	private function getPropertyCompat() {
65 68
 		return method_exists( $this, 'getProperty' ) ? $this->getProperty() : $this->m_property;
66 69
 	}
Please login to merge, or discard this patch.
src/queryprinters/SM_KMLPrinter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	 * @param SMWQueryResult $res
25 25
 	 * @param $outputmode
26 26
 	 *
27
-	 * @return array
27
+	 * @return string
28 28
 	 */
29 29
 	public function getResultText( SMWQueryResult $res, $outputmode ) {
30 30
 		if ( $outputmode == SMW_OUTPUT_FILE ) {
Please login to merge, or discard this patch.
src/SM_GeoCoordsValue.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -103,6 +103,11 @@
 block discarded – undo
103 103
 		}
104 104
 	}
105 105
 
106
+	/**
107
+	 * @param string|false $distance
108
+	 *
109
+	 * @return string
110
+	 */
106 111
 	protected function parserDistance( $distance ) {
107 112
 		if ( $distance !== false ) {
108 113
 			$distance = substr( trim( $distance ), 0, -1 );
Please login to merge, or discard this patch.
src/SM_GeoCoordsValueDescription.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
 		}
30 30
 	}
31 31
 
32
+	/**
33
+	 * @return null|SMW\DIProperty
34
+	 */
32 35
 	private function getPropertyCompat() {
33 36
 		return method_exists( $this, 'getProperty' ) ? $this->getProperty() : $this->m_property;
34 37
 	}
@@ -44,7 +47,7 @@  discard block
 block discarded – undo
44 47
 	 * @param array $fieldNames
45 48
 	 * @param DatabaseBase $dbs
46 49
 	 * 
47
-	 * @return boolean
50
+	 * @return false|string
48 51
 	 */
49 52
 	public function getSQLCondition( $tableName, array $fieldNames, DatabaseBase $dbs ) {
50 53
 		$dataItem = $this->getDataItem();
Please login to merge, or discard this patch.