Skip to content

Commit af4fee1

Browse files
authored
Apply fixes from StyleCI (#1033)
1 parent f391db3 commit af4fee1

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

MaxMindBinary.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,11 @@ final class MaxMindBinary extends AbstractProvider implements Provider
4545
public function __construct(string $datFile, int $openFlag = null)
4646
{
4747
if (false === function_exists('geoip_open')) {
48-
throw new FunctionNotFound(
49-
'geoip_open',
50-
'The MaxMindBinary requires maxmind\'s lib to be installed and loaded. Have you included geoip.inc file?'
51-
);
48+
throw new FunctionNotFound('geoip_open', 'The MaxMindBinary requires maxmind\'s lib to be installed and loaded. Have you included geoip.inc file?');
5249
}
5350

5451
if (false === function_exists('GeoIP_record_by_addr')) {
55-
throw new FunctionNotFound(
56-
'GeoIP_record_by_addr',
57-
'The MaxMindBinary requires maxmind\'s lib to be installed and loaded. Have you included geoipcity.inc file?'
58-
);
52+
throw new FunctionNotFound('GeoIP_record_by_addr', 'The MaxMindBinary requires maxmind\'s lib to be installed and loaded. Have you included geoipcity.inc file?');
5953
}
6054

6155
if (false === is_file($datFile)) {

0 commit comments

Comments
 (0)