Completed
Push — leaflet-layers ( 2c4c2c...a1c556 )
by Peter
16:13 queued 12:16
created
includes/parserhooks/Maps_Distance.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/parserhooks/Maps_Finddestination.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/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.
includes/Geocoders.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 	 * @param string|false $mappingService
125 125
 	 * @param boolean $checkForCoords
126 126
 	 *
127
-	 * @return LatLongValue|false
127
+	 * @return LatLongValue
128 128
 	 */
129 129
 	public static function attemptToGeocode( $coordsOrAddress, $geoservice = '', $mappingService = false, $checkForCoords = true ) {
130 130
 		if ( $checkForCoords ) {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 	 * @param string $geoService
201 201
 	 * @param string|false $mappingService
202 202
 	 *
203
-	 * @return LatLongValue|false
203
+	 * @return LatLongValue
204 204
 	 * @throws MWException
205 205
 	 */
206 206
 	public static function geocode( $address, $geoService = '', $mappingService = false ) {
@@ -240,6 +240,9 @@  discard block
 block discarded – undo
240 240
 		return $coordinates;
241 241
 	}
242 242
 
243
+	/**
244
+	 * @param string $address
245
+	 */
243 246
 	private static function getGeocoded( Geocoder $geocoder, $address ) {
244 247
 		$coordinates = self::getGeocodedAsArray( $geocoder, $address );
245 248
 
@@ -373,7 +376,7 @@  discard block
 block discarded – undo
373 376
 	 *
374 377
 	 * @param string $geocoderIdentifier
375 378
 	 *
376
-	 * @return string|bool
379
+	 * @return string
377 380
 	 * @throws MWException
378 381
 	 */
379 382
 	protected static function getValidGeocoderIdentifier( $geocoderIdentifier ) {
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.