Completed
Push — master ( 484b1a...998a69 )
by Jeroen De
03:30
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.
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.
includes/Maps_MappingService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
 	/**
57 57
 	 * @param string $serviceName
58
-	 * @param array $aliases
58
+	 * @param string[] $aliases
59 59
 	 */
60 60
 	public function __construct( $serviceName, array $aliases = [] ) {
61 61
 		$this->serviceName = $serviceName;
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
 	 *
199 199
 	 * @since 0.7.3
200 200
 	 *
201
-	 * @param mixed $modules Array of string or string
201
+	 * @param string[] $modules Array of string or string
202 202
 	 */
203 203
 	public function addResourceModules( $modules ) {
204 204
 		$this->resourceModules = array_merge( $this->resourceModules, (array)$modules );
Please login to merge, or discard this patch.