We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c078071 commit cbf7814Copy full SHA for cbf7814
MaxMindBinary.php
@@ -39,7 +39,7 @@ final class MaxMindBinary extends AbstractProvider implements Provider
39
* @throws FunctionNotFound if maxmind's lib not installed
40
* @throws InvalidArgument if dat file is not correct (optional)
41
*/
42
- public function __construct(string $datFile, int $openFlag = null)
+ public function __construct(string $datFile, ?int $openFlag = null)
43
{
44
if (false === function_exists('geoip_open')) {
45
throw new FunctionNotFound('geoip_open', 'The MaxMindBinary requires maxmind\'s lib to be installed and loaded. Have you included geoip.inc file?');
0 commit comments