Completed
Push — leaflet-multi-layers2 ( 929a8f...6efb77 )
by Peter
07:23 queued 02:33
created
includes/parserhooks/Maps_Finddestination.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
 	 *
128 128
 	 * @since 0.7
129 129
 	 *
130
-	 * @return array
130
+	 * @return string[]
131 131
 	 */
132 132
 	protected function getDefaultParameters( $type ) {
133 133
 		return [ 'location', 'bearing', 'distance' ];
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
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
 	 *
122 122
 	 * @since 0.7
123 123
 	 *
124
-	 * @return array
124
+	 * @return string[]
125 125
 	 */
126 126
 	protected function getDefaultParameters( $type ) {
127 127
 		return [ 'location' ];
Please login to merge, or discard this patch.
includes/parserhooks/Maps_Geodistance.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
 	 *
114 114
 	 * @param $type
115 115
 	 *
116
-	 * @return array
116
+	 * @return string[]
117 117
 	 */
118 118
 	protected function getDefaultParameters( $type ) {
119 119
 		return [ 'location1', 'location2', 'unit', 'decimals' ];
Please login to merge, or discard this patch.
includes/parserhooks/Maps_MapsDoc.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -138,8 +138,6 @@  discard block
 block discarded – undo
138 138
 	 *
139 139
 	 * @since 1.0.1
140 140
 	 *
141
-	 * @param string $key
142
-	 * @param ... $args
143 141
 	 *
144 142
 	 * @return string
145 143
 	 */
@@ -208,7 +206,7 @@  discard block
 block discarded – undo
208 206
 	 *
209 207
 	 * @since 1.0
210 208
 	 *
211
-	 * @return array
209
+	 * @return string[]
212 210
 	 */
213 211
 	protected function getDefaultParameters( $type ) {
214 212
 		return [ 'service', 'language' ];
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
@@ -187,6 +187,10 @@
 block discarded – undo
187 187
 		return $location->getJSONObject();
188 188
 	}
189 189
 
190
+	/**
191
+	 * @param string $iconUrl
192
+	 * @param string $visitedIconUrl
193
+	 */
190 194
 	private function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) {
191 195
 		/**
192 196
 		 * @var Parser $wgParser
Please login to merge, or discard this patch.
src/Semantic/DataValues/CoordinateValue.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
 	/**
65 65
 	 * @see SMWDataValue::parseUserValue
66
+	 * @param string $value
66 67
 	 */
67 68
 	protected function parseUserValue( $value ) {
68 69
 		if ( !is_string( $value ) ) {
@@ -112,6 +113,9 @@  discard block
 block discarded – undo
112 113
 		}
113 114
 	}
114 115
 
116
+	/**
117
+	 * @return string
118
+	 */
115 119
 	private function parserDistance( $distance ) {
116 120
 		if ( $distance !== false ) {
117 121
 			$distance = substr( trim( $distance ), 0, -1 );
Please login to merge, or discard this patch.
includes/Maps_MappingService.php 1 patch
Doc Comments   +5 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;
@@ -72,6 +72,8 @@  discard block
 block discarded – undo
72 72
 
73 73
 	/**
74 74
 	 * @since 0.6.3
75
+	 * @param string $featureName
76
+	 * @param string $handlingClass
75 77
 	 */
76 78
 	public function addFeature( $featureName, $handlingClass ) {
77 79
 		$this->features[$featureName] = $handlingClass;
@@ -187,6 +189,7 @@  discard block
 block discarded – undo
187 189
 
188 190
 	/**
189 191
 	 * @since 0.6.3
192
+	 * @param string $alias
190 193
 	 */
191 194
 	public function hasAlias( $alias ) {
192 195
 		return in_array( $alias, $this->aliases );
@@ -197,7 +200,7 @@  discard block
 block discarded – undo
197 200
 	 *
198 201
 	 * @since 0.7.3
199 202
 	 *
200
-	 * @param mixed $modules Array of string or string
203
+	 * @param string[] $modules Array of string or string
201 204
 	 */
202 205
 	public function addResourceModules( $modules ) {
203 206
 		$this->resourceModules = array_merge( $this->resourceModules, (array)$modules );
Please login to merge, or discard this patch.