Completed
Push — initialization ( e0e4dd...f5068a )
by Jeroen De
20:01 queued 04:51
created
includes/parserhooks/Maps_Geocode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 	 *
92 92
 	 * @param $type
93 93
 	 * 
94
-	 * @return array
94
+	 * @return string[]
95 95
 	 */
96 96
 	protected function getDefaultParameters( $type ) {
97 97
 		return array( 'location1', 'location2', 'unit', 'decimals' );
Please login to merge, or discard this patch.
includes/geocoders/Maps_GoogleGeocoder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 	 *
92 92
 	 * @param $type
93 93
 	 * 
94
-	 * @return array
94
+	 * @return string[]
95 95
 	 */
96 96
 	protected function getDefaultParameters( $type ) {
97 97
 		return array( 'location1', 'location2', 'unit', 'decimals' );
Please login to merge, or discard this patch.
src/Elements/Location.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@
 block discarded – undo
232 232
 	 *
233 233
 	 * @since 2.0
234 234
 	 *
235
-	 * @return string
235
+	 * @return boolean
236 236
 	 */
237 237
 	public function hasGroup() {
238 238
 		return $this->group !== '';
Please login to merge, or discard this patch.
includes/Geocoders.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 	 * @param string|false $mappingService
126 126
 	 * @param boolean $checkForCoords
127 127
 	 *
128
-	 * @return LatLongValue|false
128
+	 * @return LatLongValue
129 129
 	 */
130 130
 	public static function attemptToGeocode( $coordsOrAddress, $geoservice = '', $mappingService = false, $checkForCoords = true ) {
131 131
 		if ( $checkForCoords ) {
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 	 * @param string $geoService
202 202
 	 * @param string|false $mappingService
203 203
 	 *
204
-	 * @return LatLongValue|false
204
+	 * @return LatLongValue
205 205
 	 * @throws MWException
206 206
 	 */
207 207
 	public static function geocode( $address, $geoService = '', $mappingService = false ) {
@@ -241,6 +241,9 @@  discard block
 block discarded – undo
241 241
 		return $coordinates;
242 242
 	}
243 243
 
244
+	/**
245
+	 * @param string $address
246
+	 */
244 247
 	private static function getGeocoded( Geocoder $geocoder, $address ) {
245 248
 		$coordinates = self::getGeocodedAsArray( $geocoder, $address );
246 249
 
@@ -311,7 +314,7 @@  discard block
 block discarded – undo
311 314
 	 * @since 0.7
312 315
 	 *
313 316
 	 * @param string $geocoderIdentifier
314
-	 * @param string|\Maps\Geocoders\Geocoder $geocoder
317
+	 * @param string $geocoder
315 318
 	 */
316 319
 	public static function registerGeocoder( $geocoderIdentifier, $geocoder ) {
317 320
 		self::$registeredGeocoders[$geocoderIdentifier] = $geocoder;
@@ -381,7 +384,7 @@  discard block
 block discarded – undo
381 384
 	 *
382 385
 	 * @param string $geocoderIdentifier
383 386
 	 *
384
-	 * @return string|bool
387
+	 * @return string
385 388
 	 * @throws MWException
386 389
 	 */
387 390
 	protected static function getValidGeocoderIdentifier( $geocoderIdentifier ) {
Please login to merge, or discard this patch.
includes/iMappingService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 	 * @since 0.6.3
26 26
 	 * 
27 27
 	 * @param mixed $parserOrOut
28
+	 * @return void
28 29
 	 */
29 30
 	public function addDependencies( &$parserOrOut );
30 31
 	
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
 	 * 
47 48
 	 * @param string $featureName
48 49
 	 * @param string $handlingClass
50
+	 * @return void
49 51
 	 */	
50 52
 	public function addFeature( $featureName, $handlingClass );
51 53
 	
@@ -66,6 +68,7 @@  discard block
 block discarded – undo
66 68
 	 * @since 0.6.6
67 69
 	 * 
68 70
 	 * @param string $featureName.
71
+	 * @param string $featureName
69 72
 	 * 
70 73
 	 * @return object or false
71 74
 	 */	
Please login to merge, or discard this patch.
includes/Maps_MappingService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 	 * @since 0.6.3
72 72
 	 *
73 73
 	 * @param string $serviceName
74
-	 * @param array $aliases
74
+	 * @param string[] $aliases
75 75
 	 */
76 76
 	public function __construct( $serviceName, array $aliases = [] ) {
77 77
 		$this->serviceName = $serviceName;
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
 	 *
233 233
 	 * @since 0.7.3
234 234
 	 *
235
-	 * @param mixed $modules Array of string or string
235
+	 * @param string[] $modules Array of string or string
236 236
 	 */
237 237
 	public function addResourceModules( $modules ) {
238 238
 		$this->resourceModules = array_merge( $this->resourceModules, (array)$modules );
Please login to merge, or discard this patch.
SemanticMaps/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
 
@@ -282,7 +285,7 @@  discard block
 block discarded – undo
282 285
 	/**
283 286
 	 * @since 1.0
284 287
 	 * 
285
-	 * @return array of string
288
+	 * @return string[] of string
286 289
 	 */
287 290
 	protected function getResourceModules() {
288 291
 		return [ 'ext.sm.forminputs' ];
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
@@ -274,6 +274,10 @@
 block discarded – undo
274 274
 		}
275 275
 	}
276 276
 
277
+	/**
278
+	 * @param string $iconUrl
279
+	 * @param string $visitedIconUrl
280
+	 */
277 281
 	private function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) {
278 282
 		/**
279 283
 		 * @var Parser $wgParser
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
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
 	/**
292 292
 	 * @since 2.0
293 293
 	 *
294
-	 * @return array
294
+	 * @return Element[]
295 295
 	 */
296 296
 	public function getShapes() {
297 297
 		$this->findShapes();
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
 	 *
578 578
 	 * @since 0.7.3
579 579
 	 *
580
-	 * @param array $row
580
+	 * @param SMWResultArray[] $row
581 581
 	 *
582 582
 	 * @return string
583 583
 	 */
Please login to merge, or discard this patch.