Completed
Push — newparam ( 8bd97f...7a21d8 )
by Jeroen De
02:49
created
src/SemanticMW/DataValues/CoordinateValue.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@
 block discarded – undo
67 67
 
68 68
 	/**
69 69
 	 * @see SMWDataValue::parseUserValue
70
+	 * @param string $value
70 71
 	 */
71 72
 	protected function parseUserValue( $value ) {
72 73
 		if ( !is_string( $value ) ) {
Please login to merge, or discard this patch.
src/MediaWiki/ParserHooks/DisplayMapFunction.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@  discard block
 block discarded – undo
145 145
 		);
146 146
 	}
147 147
 
148
+	/**
149
+	 * @param string $locationDelimiter
150
+	 */
148 151
 	private static function getParameterDefinitions( $locationDelimiter ): array {
149 152
 		$params = MapsFunctions::getCommonParameters();
150 153
 
@@ -171,6 +174,9 @@  discard block
 block discarded – undo
171 174
 		}
172 175
 	}
173 176
 
177
+	/**
178
+	 * @param boolean $value
179
+	 */
174 180
 	private function getParameterWithValue( ProcessedParam $param, $value ) {
175 181
 		return new ProcessedParam(
176 182
 			$param->getName(),
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Maps\Presentation\ParameterExtractor;
9 9
 use MWException;
10 10
 use ParamProcessor\ParamDefinition;
11
-use ParamProcessor\ParamDefinitionFactory;
12 11
 use ParamProcessor\ProcessedParam;
13 12
 use ParamProcessor\Processor;
14 13
 use Parser;
Please login to merge, or discard this patch.
src/MapsFunctions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	/**
71 71
 	 * This function returns the definitions for the parameters used by every map feature.
72 72
 	 *
73
-	 * @return array
73
+	 * @return \ParamProcessor\ParamDefinition[]
74 74
 	 */
75 75
 	public static function getCommonParameters() {
76 76
 		$params = [];
Please login to merge, or discard this patch.