Passed
Push — GlobeCoordinateParser ( aed06a...a4aa24 )
by Jeroen De
02:14
created

LatLongPrecision::getLatLong()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 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 LatLongPrecision {
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