| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait IpLatitudeFloatNull |
||
| 8 | { |
||
| 9 | /** @var float|null */ |
||
| 10 | protected $ip_latitude; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return float|null |
||
| 14 | */ |
||
| 15 | public function getIpLatitude(): ?float |
||
| 16 | { |
||
| 17 | return $this->ip_latitude; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param float|null $ip_latitude |
||
| 22 | * |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | public function setIpLatitude(?float $ip_latitude): self |
||
| 30 | } |
||
| 31 | } |
||
| 32 |