Completed
Pull Request — master (#105)
by mw
05:32 queued 02:58
created
includes/parserhooks/Maps_LayerDefinition.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	 *
92 92
 	 * @since 3.0
93 93
 	 *
94
-	 * @return array
94
+	 * @return string[]
95 95
 	 */
96 96
 	protected function getDefaultParameters( $type ) {
97 97
 		return array( 'definition' );
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 	 *
150 150
 	 * @since 3.0
151 151
 	 *
152
-	 * @param type $layer 
152
+	 * @param MapsLayer $layer 
153 153
 	 *
154 154
 	 * @return boolean whether $layer has been added to the store
155 155
 	 */
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
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 	 *
70 70
 	 * @since 1.0
71 71
 	 *
72
-	 * @return array
72
+	 * @return string[]
73 73
 	 */
74 74
 	protected function getDefaultParameters( $type ) {
75 75
 		return array( 'service', 'language' );
@@ -98,8 +98,6 @@  discard block
 block discarded – undo
98 98
 	 *
99 99
 	 * @since 1.0.1
100 100
 	 *
101
-	 * @param string $key
102
-	 * @param ... $args
103 101
 	 *
104 102
 	 * @return string
105 103
 	 */
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.
Maps.hooks.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 *
101 101
 	 * @param DatabaseUpdater $updater
102 102
 	 *
103
-	 * @return true 
103
+	 * @return boolean 
104 104
 	 */
105 105
 	public static function onLoadExtensionSchemaUpdates( DatabaseUpdater $updater ) {
106 106
 		switch( $GLOBALS['wgDBtype'] ) {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	 * @since 3.0
123 123
 	 *
124 124
 	 * @param $article WikiPage|Article (depending on MW version, WikiPage in 1.18+)
125
-	 * @return type
125
+	 * @return boolean
126 126
 	 */
127 127
 	public static function onArticlePurge( &$article ) {
128 128
 		self::$purgedBeforeStore = true;
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 	 * @param Parser &$parser
138 138
 	 * @param string &$text
139 139
 	 *
140
-	 * @return true
140
+	 * @return boolean
141 141
 	 */
142 142
 	public static function onParserAfterTidy( Parser &$parser, &$text ) {
143 143
 
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @param LinksUpdate &$linksUpdate
167 167
 	 *
168
-	 * @return true
168
+	 * @return boolean
169 169
 	 */
170 170
 	public static function onLinksUpdateConstructed( LinksUpdate &$linksUpdate ) {
171 171
 		$title = $linksUpdate->getTitle();
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
 	 *
210 210
 	 * @param Parser $parser
211 211
 	 *
212
-	 * @return true
212
+	 * @return boolean
213 213
 	 */
214 214
 	public static function onParserClearState( Parser &$parser ) {
215 215
 		$parser->getOutput()->mExtMapsLayers = null;
Please login to merge, or discard this patch.
src/Maps/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.
includes/geocoders/Maps_GeocoderusGeocoder.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
 	 * 
48 48
 	 * @since 1.0
49 49
 	 * 
50
-	 * @param string $address
51 50
 	 * 
52 51
 	 * @return array
53 52
 	 */		
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
@@ -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_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.