Completed
Push — master ( 53a3bc...8f72e6 )
by Jeroen De
03:36
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/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/SemanticMW/QueryHandler.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 	}
151 151
 
152 152
 	/**
153
-	 * @return Location[]
153
+	 * @return \Generator
154 154
 	 */
155 155
 	public function getLocations(): iterable {
156 156
 		while ( ( $row = $this->queryResult->getNext() ) !== false ) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 	/**
372 372
 	 * Get the icon for a row.
373 373
 	 *
374
-	 * @param array $row
374
+	 * @param SMWResultArray[] $row
375 375
 	 *
376 376
 	 * @return string
377 377
 	 */
@@ -461,6 +461,9 @@  discard block
 block discarded – undo
461 461
 		);
462 462
 	}
463 463
 
464
+	/**
465
+	 * @return string
466
+	 */
464 467
 	private function getTitleOutput( string $titleText ) {
465 468
 		$title = Title::newFromText( $titleText );
466 469
 
Please login to merge, or discard this patch.