Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | 7 | public function getValues(float $x, float $y): array |
|
28 | { |
||
29 | 7 | $latitudeShift = new ArcSecond($this->latitudeGrid->getValues($x, $y)[0]); |
|
30 | 7 | $longitudeShift = new ArcSecond($this->longitudeGrid->getValues($x, $y)[0]); |
|
31 | 7 | $heightShift = $this->ellipsoidHeightGrid ? new Metre($this->ellipsoidHeightGrid->getValues($x, $y)[0]) : null; |
|
32 | |||
33 | 7 | return [$latitudeShift, $longitudeShift, $heightShift]; |
|
34 | } |
||
36 |