Completed
Push — master ( 6867ea...535d08 )
by Jeroen De
62:35 queued 52:37
created
src/SemanticMW/CoordinateValue.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
 	/**
65 65
 	 * @see SMWDataValue::parseUserValue
66
+	 * @param string $value
66 67
 	 */
67 68
 	protected function parseUserValue( $value ) {
68 69
 		if ( !is_string( $value ) ) {
@@ -112,6 +113,9 @@  discard block
 block discarded – undo
112 113
 		}
113 114
 	}
114 115
 
116
+	/**
117
+	 * @return string
118
+	 */
115 119
 	private function parserDistance( $distance ) {
116 120
 		if ( $distance !== false ) {
117 121
 			$distance = substr( trim( $distance ), 0, -1 );
Please login to merge, or discard this patch.
src/SemanticMW/QueryHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	}
170 170
 
171 171
 	/**
172
-	 * @return Location[]
172
+	 * @return \Generator
173 173
 	 */
174 174
 	public function getLocations(): iterable {
175 175
 		while ( ( $row = $this->queryResult->getNext() ) !== false ) {
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
 	/**
411 411
 	 * Get the icon for a row.
412 412
 	 *
413
-	 * @param array $row
413
+	 * @param SMWResultArray[] $row
414 414
 	 *
415 415
 	 * @return string
416 416
 	 */
Please login to merge, or discard this patch.
src/WikitextParsers/ImageOverlayParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
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::globalInstance()->getGeocoder();
24 27
 	}
Please login to merge, or discard this patch.
src/MapsSetup.php 1 patch
Unused Use Statements   -8 removed lines patch added patch discarded remove patch
@@ -9,13 +9,6 @@  discard block
 block discarded – undo
9 9
 use Maps\GeoJsonPages\GeoJsonContentHandler;
10 10
 use Maps\LegacyMapEditor\SpecialMapEditor;
11 11
 use Maps\Map\CargoFormat\CargoFormat;
12
-use Maps\Map\DisplayMap\DisplayMapFunction;
13
-use Maps\ParserHooks\CoordinatesFunction;
14
-use Maps\ParserHooks\DistanceFunction;
15
-use Maps\ParserHooks\FindDestinationFunction;
16
-use Maps\ParserHooks\GeocodeFunction;
17
-use Maps\ParserHooks\GeoDistanceFunction;
18
-use Maps\ParserHooks\MapsDocFunction;
19 12
 use Maps\WikitextParsers\CircleParser;
20 13
 use Maps\WikitextParsers\DistanceParser;
21 14
 use Maps\WikitextParsers\ImageOverlayParser;
@@ -25,7 +18,6 @@  discard block
 block discarded – undo
25 18
 use Maps\WikitextParsers\RectangleParser;
26 19
 use Maps\WikitextParsers\WmsOverlayParser;
27 20
 use Parser;
28
-use PPFrame;
29 21
 
30 22
 /**
31 23
  * @licence GNU GPL v2+
Please login to merge, or discard this patch.