Completed
Push — master ( f77170...d04d76 )
by Jeroen De
06:18 queued 12s
created

PreciseLatLong::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
declare( strict_types = 1 );
4
5
namespace DataValues\Geo\PackagePrivate;
6
7
use DataValues\Geo\Values\LatLongValue;
8
9
class PreciseLatLong {
10
11
	private $latLong;
12
	private $precision;
13
14
	public function __construct( LatLongValue $latLong, Precision $precision ) {
15
		$this->latLong = $latLong;
16
		$this->precision = $precision;
17
	}
18
19
	public function getLatLong(): LatLongValue {
20
		return $this->latLong;
21
	}
22
23
	public function getPrecision(): Precision {
24
		return $this->precision;
25
	}
26
27
}
28