Completed
Push — leaflet-multi-layers2 ( 929a8f...6efb77 )
by Peter
07:23 queued 02:33
created
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.
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_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.
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.
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.
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 $egMapsMapWidth, $egMapsMapHeight, $egMapsDefaultService;
Please login to merge, or discard this patch.
includes/Maps_DistanceParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 	 *
141 141
 	 * @since 0.6.5
142 142
 	 *
143
-	 * @param $distance String
143
+	 * @param string $distance String
144 144
 	 *
145 145
 	 * @return string
146 146
 	 */
Please login to merge, or discard this patch.
includes/parserhooks/Maps_Coordinates.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 	 *
111 111
 	 * @since 0.7
112 112
 	 *
113
-	 * @return array
113
+	 * @return string[]
114 114
 	 */
115 115
 	protected function getDefaultParameters( $type ) {
116 116
 		return [ 'location', 'format', 'directional' ];
Please login to merge, or discard this patch.
includes/parserhooks/Maps_DisplayMap.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 *
63 63
 	 * @since 2.0
64 64
 	 *
65
-	 * @return array
65
+	 * @return string[]
66 66
 	 */
67 67
 	protected function getNames() {
68 68
 		return [ $this->getName(), 'display_point', 'display_points', 'display_line' ];
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	 *
115 115
 	 * @since 0.7
116 116
 	 *
117
-	 * @return array
117
+	 * @return string[]
118 118
 	 */
119 119
 	protected function getDefaultParameters( $type ) {
120 120
 		return [ 'coordinates' ];
Please login to merge, or discard this patch.