@@ -67,6 +67,7 @@ |
||
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 ) ) { |
@@ -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; |
@@ -70,7 +70,7 @@ |
||
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 = []; |