Conditions | 4 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 4 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | 4 | public function fromLonLat(Interfaces\INumbers $position): Interfaces\IFormatted |
|
30 | { |
||
31 | 4 | return (clone $this->out)->setData( |
|
32 | 4 | is_null($position->getLongitude()) ? null : strval($position->getLongitude()), |
|
|
|||
33 | 4 | is_null($position->getLatitude()) ? null : strval($position->getLatitude()), |
|
34 | 4 | is_null($position->getAltitude()) ? null : strval($position->getAltitude()), |
|
35 | ); |
||
47 |