| Conditions | 3 | 
| Paths | 4 | 
| Total Lines | 9 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 38 | public function resolve(string $ipAddress= null): string  | 
            ||
| 39 |     { | 
            ||
| 40 | $ipAddress || $ipAddress = $this->oNetwork->getIPAddress();  | 
            ||
| 41 | if ($this->oNetwork->isIpAddress($ipAddress)):  | 
            ||
| 42 | $ipVersion = $this->oNetwork->ipVersion($ipAddress);  | 
            ||
| 43 | $start = $this->oNetwork->ip2Integer($ipAddress);  | 
            ||
| 44 | return $this->oDBInstance->fetch($start, $ipVersion);  | 
            ||
| 45 | endif;  | 
            ||
| 46 | return 'ZZ';  | 
            ||
| 47 | }  | 
            ||
| 59 |