@@ -145,6 +145,9 @@ discard block |
||
| 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 |
||
| 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(), |
@@ -8,7 +8,6 @@ |
||
| 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; |