Completed
Push — master ( 502ebf...ce3a1d )
by Jeroen De
192:28 queued 171:53
created
src/Values/GlobeCoordinateValue.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
 	/**
42 42
 	 * @param LatLongValue $latLong
43
-	 * @param float|int|null $precision in degrees, e.g. 0.01.
43
+	 * @param null|double $precision in degrees, e.g. 0.01.
44 44
 	 * @param string|null $globe IRI, defaults to 'http://www.wikidata.org/entity/Q2'.
45 45
 	 *
46 46
 	 * @throws IllegalValueException
@@ -59,6 +59,9 @@  discard block
 block discarded – undo
59 59
 		$this->globe = $globe;
60 60
 	}
61 61
 
62
+	/**
63
+	 * @param null|double $precision
64
+	 */
62 65
 	private function assertIsPrecision( ?float $precision ) {
63 66
 		if ( is_float( $precision ) && ( $precision < -360 || $precision > 360 ) ) {
64 67
 			throw new IllegalValueException( '$precision needs to be between -360 and 360' );
Please login to merge, or discard this patch.