Completed
Push — elements-php7 ( 6a283e )
by Jeroen De
05:38
created
includes/parserhooks/Maps_Distance.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
 	 *
99 99
 	 * @param $type
100 100
 	 *
101
-	 * @return array
101
+	 * @return string[]
102 102
 	 */
103 103
 	protected function getDefaultParameters( $type ) {
104 104
 		return [ 'distance', 'unit', 'decimals' ];
Please login to merge, or discard this patch.
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   +9 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 ) ) {
@@ -88,6 +89,9 @@  discard block
 block discarded – undo
88 89
 		return [ $distance, $comparator ];
89 90
 	}
90 91
 
92
+	/**
93
+	 * @param string $value
94
+	 */
91 95
 	private function findValueParts( $value ) {
92 96
 		$parts = explode( '(', $value );
93 97
 
@@ -116,6 +120,11 @@  discard block
 block discarded – undo
116 120
 		}
117 121
 	}
118 122
 
123
+	/**
124
+	 * @param string|false $distance
125
+	 *
126
+	 * @return string
127
+	 */
119 128
 	private function parserDistance( $distance ) {
120 129
 		if ( $distance !== false ) {
121 130
 			$distance = substr( trim( $distance ), 0, -1 );
Please login to merge, or discard this patch.