Completed
Push — killgeocoders ( 08fbcb...c54d8c )
by Jeroen De
04:37 queued 01:18
created
includes/parserhooks/Maps_Finddestination.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
 	 * 
101 101
 	 * @since 0.7
102 102
 	 * 
103
-	 * @return array
103
+	 * @return string[]
104 104
 	 */
105 105
 	protected function getDefaultParameters( $type ) {
106 106
 		return [ 'location', 'bearing', 'distance' ];
Please login to merge, or discard this patch.
includes/parserhooks/Maps_Geodistance.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 	 *
91 91
 	 * @param $type
92 92
 	 * 
93
-	 * @return array
93
+	 * @return string[]
94 94
 	 */
95 95
 	protected function getDefaultParameters( $type ) {
96 96
 		return [ 'location1', 'location2', 'unit', 'decimals' ];
Please login to merge, or discard this patch.
includes/parserhooks/Maps_MapsDoc.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 *
70 70
 	 * @since 1.0
71 71
 	 *
72
-	 * @return array
72
+	 * @return string[]
73 73
 	 */
74 74
 	protected function getDefaultParameters( $type ) {
75 75
 		return [ 'service', 'language' ];
@@ -98,8 +98,6 @@  discard block
 block discarded – undo
98 98
 	 *
99 99
 	 * @since 1.0.1
100 100
 	 *
101
-	 * @param string $key
102
-	 * @param ... $args
103 101
 	 *
104 102
 	 * @return string
105 103
 	 */
Please login to merge, or discard this patch.
SemanticMaps/src/queryprinters/SM_QueryHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
 	}
240 240
 
241 241
 	/**
242
-	 * @return array
242
+	 * @return Element[]
243 243
 	 */
244 244
 	public function getShapes() {
245 245
 		$this->findShapes();
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
 	/**
516 516
 	 * Get the icon for a row.
517 517
 	 *
518
-	 * @param array $row
518
+	 * @param SMWResultArray[] $row
519 519
 	 *
520 520
 	 * @return string
521 521
 	 */
Please login to merge, or discard this patch.
SemanticMaps/src/queryprinters/SM_MapPrinter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -286,6 +286,10 @@
 block discarded – undo
286 286
 		);
287 287
 	}
288 288
 
289
+	/**
290
+	 * @param string $iconUrl
291
+	 * @param string $visitedIconUrl
292
+	 */
289 293
 	private function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) {
290 294
 		/**
291 295
 		 * @var Parser $wgParser
Please login to merge, or discard this patch.
src/Semantic/DataValues/CoordinateValue.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -97,6 +97,11 @@  discard block
 block discarded – undo
97 97
 		}
98 98
 	}
99 99
 
100
+	/**
101
+	 * @param string|false $distance
102
+	 *
103
+	 * @return string
104
+	 */
100 105
 	private function parserDistance( $distance ) {
101 106
 		if ( $distance !== false ) {
102 107
 			$distance = substr( trim( $distance ), 0, -1 );
@@ -112,6 +117,7 @@  discard block
 block discarded – undo
112 117
 
113 118
 	/**
114 119
 	 * @see SMWDataValue::parseUserValue
120
+	 * @param string $value
115 121
 	 */
116 122
 	protected function parseUserValue( $value ) {
117 123
 		if ( !is_string( $value ) ) {
@@ -136,6 +142,9 @@  discard block
 block discarded – undo
136 142
 		return [ $distance, $comparator ];
137 143
 	}
138 144
 
145
+	/**
146
+	 * @param string $value
147
+	 */
139 148
 	private function findValueParts( $value ) {
140 149
 		$parts = explode( '(', $value );
141 150
 
Please login to merge, or discard this patch.
src/Semantic/ValueDescriptions/AreaDescription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	 * FIXME: store specific code should be in the store component
97 97
 	 *
98 98
 	 * @param string $tableName
99
-	 * @param array $fieldNames
99
+	 * @param string[] $fieldNames
100 100
 	 * @param DatabaseBase $dbs
101 101
 	 *
102 102
 	 * @return string|false
Please login to merge, or discard this patch.
src/Geocoders/GeoNamesGeocoder.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -57,6 +57,10 @@
 block discarded – undo
57 57
 			   . urlencode( $this->geoNamesUser );
58 58
 	}
59 59
 
60
+	/**
61
+	 * @param string $xml
62
+	 * @param string $tagName
63
+	 */
60 64
 	private function getXmlElementValue( $xml, $tagName ) {
61 65
 		$match = [];
62 66
 		preg_match( "/<$tagName>(.*?)<\/$tagName>/", $xml, $match );
Please login to merge, or discard this patch.
includes/parserhooks/Maps_Geocode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 	 * 
79 79
 	 * @since 0.7
80 80
 	 * 
81
-	 * @return array
81
+	 * @return string[]
82 82
 	 */
83 83
 	protected function getDefaultParameters( $type ) {
84 84
 		return [ 'location' ];
Please login to merge, or discard this patch.