Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
NoopGeoLocation
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 locate
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
<?php
namespace CookieWarning;
class NoopGeoLocation implements GeoLocation {
    /**
     * {@inheritdoc}
     * @param string $ip The IP address to lookup
     * @return bool|null NULL if no geolocation service configured, false on error, true otherwise.
     */
    public function locate( $ip ) {
        return null;
    }
}