Completed
Push — move ( 04f5b5...ed2c91 )
by Jeroen De
17:58 queued 15:41
created
src/SemanticMW/DataValues/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/ResultPrinters/MapPrinter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -187,6 +187,10 @@
 block discarded – undo
187 187
 		return $location->getJSONObject();
188 188
 	}
189 189
 
190
+	/**
191
+	 * @param string $iconUrl
192
+	 * @param string $visitedIconUrl
193
+	 */
190 194
 	private function getJsonForStaticLocations( array $staticLocations, array $params, $iconUrl, $visitedIconUrl ) {
191 195
 		/**
192 196
 		 * @var Parser $wgParser
Please login to merge, or discard this patch.
src/SemanticMW/ResultPrinters/QueryHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 	}
235 235
 
236 236
 	/**
237
-	 * @return array
237
+	 * @return \Maps\Element[]
238 238
 	 */
239 239
 	public function getShapes() {
240 240
 		$this->findShapes();
@@ -469,7 +469,7 @@  discard block
 block discarded – undo
469 469
 	/**
470 470
 	 * Get the icon for a row.
471 471
 	 *
472
-	 * @param array $row
472
+	 * @param SMWResultArray[] $row
473 473
 	 *
474 474
 	 * @return string
475 475
 	 */
Please login to merge, or discard this patch.
src/SemanticMW/ValueDescriptions/AreaDescription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
 	 * FIXME: store specific code should be in the store component
97 97
 	 *
98 98
 	 * @param string $tableName
99
-	 * @param array $fieldNames
99
+	 * @param string[] $fieldNames
100 100
 	 * @param DatabaseBase $dbs
101 101
 	 *
102 102
 	 * @return string|false
Please login to merge, or discard this patch.
src/Presentation/WikitextParsers/ImageOverlayParser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
 
22 22
 	private $geocoder;
23 23
 
24
+	/**
25
+	 * @param \Jeroen\SimpleGeocoder\Geocoders\Decorators\CoordinateFriendlyGeocoder $geocoder
26
+	 */
24 27
 	public function __construct( $geocoder = null ) {
25 28
 		$this->geocoder = $geocoder instanceof Geocoder ? $geocoder : MapsFactory::newDefault()->newGeocoder();
26 29
 	}
Please login to merge, or discard this patch.
src/Presentation/WikitextParsers/LocationParser.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -108,6 +108,11 @@
 block discarded – undo
108 108
 		$location->setLink( $this->getExpandedLink( $link ) );
109 109
 	}
110 110
 
111
+	/**
112
+	 * @param string $link
113
+	 *
114
+	 * @return string
115
+	 */
111 116
 	private function getExpandedLink( $link ) {
112 117
 		if ( filter_var( $link, FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQUIRED ) ) {
113 118
 			return $link;
Please login to merge, or discard this patch.