Completed
Push — rm-dc-stub ( 6678b8 )
by Jeroen De
04:04
created
includes/Maps_DistanceParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 	 * 
153 153
 	 * @since 0.6.5
154 154
 	 * 
155
-	 * @param $distance String
155
+	 * @param string $distance String
156 156
 	 * 
157 157
 	 * @return string
158 158
 	 */
Please login to merge, or discard this patch.
includes/parsers/ImageOverlayParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 	 *
22 22
 	 * @param string $value
23 23
 	 *
24
-	 * @return WmsOverlay
24
+	 * @return ImageOverlay
25 25
 	 * @throws ParseException
26 26
 	 */
27 27
 	protected function stringParse( $value ) {
Please login to merge, or discard this patch.
includes/ServiceParam.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	 * @param IParamDefinition[] $definitions
52 52
 	 * @param IParam[] $params
53 53
 	 *
54
-	 * @return mixed
54
+	 * @return string
55 55
 	 */
56 56
 	protected function formatValue( $value, IParam $param, array &$definitions, array $params ) {
57 57
 		// Make sure the service is valid.
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.
SemanticMaps/src/SM_GeoCoordsValueDescription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 	 * @param array $fieldNames
45 45
 	 * @param DatabaseBase $dbs
46 46
 	 * 
47
-	 * @return boolean
47
+	 * @return false|string
48 48
 	 */
49 49
 	public function getSQLCondition( $tableName, array $fieldNames, DatabaseBase $dbs ) {
50 50
 		$dataItem = $this->getDataItem();
Please login to merge, or discard this patch.
tests/Unit/Elements/PolygonTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -50,6 +50,10 @@
 block discarded – undo
50 50
 		$this->assertHasJsonKeyWithValue( $polygon, 'fillOpacity', '0.42' );
51 51
 	}
52 52
 
53
+	/**
54
+	 * @param string $key
55
+	 * @param string $value
56
+	 */
53 57
 	protected function assertHasJsonKeyWithValue( Polygon $polygon, $key, $value ) {
54 58
 		$json = $polygon->getJSONObject();
55 59
 
Please login to merge, or discard this patch.
includes/Maps_Mapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 	/**
68 68
 	 * This function returns the definitions for the parameters used by every map feature.
69 69
 	 *
70
-	 * @return array
70
+	 * @return ParamProcessor\IParamDefinition[]
71 71
 	 */
72 72
 	public static function getCommonParameters() {
73 73
 		global $egMapsAvailableGeoServices, $egMapsDefaultGeoService, $egMapsMapWidth, $egMapsMapHeight, $egMapsDefaultService;
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
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 	 * 
76 76
 	 * @since 0.7
77 77
 	 * 
78
-	 * @return array
78
+	 * @return string[]
79 79
 	 */
80 80
 	public static function getOverrides() {
81 81
 		return [ 'googlemaps3' ];
Please login to merge, or discard this patch.
includes/Maps_DisplayMapRenderer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -148,6 +148,10 @@
 block discarded – undo
148 148
 		return $locationJsonObjects;
149 149
 	}
150 150
 
151
+	/**
152
+	 * @param string $iconUrl
153
+	 * @param string $visitedIconUrl
154
+	 */
151 155
 	private function getLocationJsonObject( Location $location, array $params, $iconUrl, $visitedIconUrl, Parser $parserClone ) {
152 156
 		$jsonObj = $location->getJSONObject( $params['title'], $params['label'], $iconUrl, '', '', $visitedIconUrl );
153 157
 
Please login to merge, or discard this patch.