@@ -205,6 +205,10 @@ |
||
| 205 | 205 | return $location->getJSONObject(); |
| 206 | 206 | } |
| 207 | 207 | |
| 208 | + /** |
|
| 209 | + * @param string $iconUrl |
|
| 210 | + * @param string $visitedIconUrl |
|
| 211 | + */ |
|
| 208 | 212 | private function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) { |
| 209 | 213 | $locationsJson = []; |
| 210 | 214 | |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | private $geocoder; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param \Jeroen\SimpleGeocoder\Geocoders\Decorators\CoordinateFriendlyGeocoder $geocoder |
|
| 24 | + */ |
|
| 22 | 25 | public function __construct( $geocoder = null ) { |
| 23 | 26 | $this->geocoder = $geocoder instanceof Geocoder ? $geocoder : MapsFactory::newDefault()->getGeocoder(); |
| 24 | 27 | } |
@@ -23,6 +23,9 @@ |
||
| 23 | 23 | private $pageContentFetcher; |
| 24 | 24 | private $defaultNamespace; |
| 25 | 25 | |
| 26 | + /** |
|
| 27 | + * @param FileFetcher $fileFetcher |
|
| 28 | + */ |
|
| 26 | 29 | public function __construct( $fileFetcher = null, PageContentFetcher $pageContentFetcher = null ) { |
| 27 | 30 | $this->fileFetcher = $fileFetcher instanceof FileFetcher |
| 28 | 31 | ? $fileFetcher : MapsFactory::newDefault()->getGeoJsonFileFetcher(); |
@@ -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 ) ) { |