src/Auditable.php
protected function resolveIpAddress(): string
    {
        $ipAddressResolver = Config::get('audit.resolver.ip_address');

        if (is_subclass_of($ipAddressResolver, IpAddressResolver::class)) {
            return call_user_func([$ipAddressResolver, 'resolve']);
        }

        throw new AuditingException('Invalid IpAddressResolver implementation');
    }
protected function resolveIpAddress(): string
    {
        $ipAddressResolver = Config::get('audit.resolver.ip_address');

        if (is_subclass_of($ipAddressResolver, IpAddressResolver::class)) {
            return call_user_func([$ipAddressResolver, 'resolve']);
        }

        throw new AuditingException('Invalid IpAddressResolver implementation');
    }
protected function resolveIpAddress ( ) : string { $ ipAddressResolver = Config :: get ( 'audit.resolver.ip_address' ) ; if ( is_subclass_of ( $ ipAddressResolver , IpAddressResolver :: class ) ) { return call_user_func ( [ $ ipAddressResolver , 'resolve' ] ) ; } throw new AuditingException ( 'Invalid IpAddressResolver implementation' ) ; }
Resolve the IP Address.

@throws AuditingException

@return string
Resolve the IP Address .