@@ -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 ) ) { |
@@ -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 = []; |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use AlItem; |
6 | 6 | use ALTree; |
7 | -use Maps\MediaWiki\Content\GeoJsonContent; |
|
8 | -use Maps\Presentation\GeoJsonMapPageUi; |
|
9 | 7 | use Maps\Presentation\GeoJsonNewPageUi; |
10 | 8 | use Maps\Presentation\OutputFacade; |
11 | 9 | use SkinTemplate; |
@@ -158,6 +158,9 @@ |
||
158 | 158 | } |
159 | 159 | } |
160 | 160 | |
161 | + /** |
|
162 | + * @param boolean $value |
|
163 | + */ |
|
161 | 164 | private function getParameterWithValue( ProcessedParam $param, $value ) { |
162 | 165 | return new ProcessedParam( |
163 | 166 | $param->getName(), |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Maps; |
6 | 6 | use Maps\MapsFactory; |
7 | -use Maps\MapsFunctions; |
|
8 | 7 | use Maps\MappingServices; |
9 | 8 | use Maps\Presentation\ParameterExtractor; |
10 | 9 | use MWException; |