| Conditions | 1 |
| Paths | 1 |
| Total Lines | 4 |
| Code Lines | 1 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | protected function createProvider(HttpClient $httpClient) |
||
| 45 | { |
||
| 46 | // Download this BIN database from https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude-zipcode |
||
| 47 | return new IP2LocationBinary(__DIR__.'/fixtures/IP2LOCATION-LITE-DB9.IPV6.BIN', \IP2Location\Database::FILE_IO); |
||
| 48 | } |
||
| 60 |
When comparing two booleans, it is generally considered safer to use the strict comparison operator.