Completed
Push — newparam ( 8bd97f...7a21d8 )
by Jeroen De
02:49
created
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.