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 f49179b commit d0090c9Copy full SHA for d0090c9
‎IP2LocationBinary.php
@@ -39,7 +39,7 @@ final class IP2LocationBinary extends AbstractProvider implements Provider
39
* @throws FunctionNotFound if IP2Location's library not installed
40
* @throws InvalidArgument if dat file is not correct (optional)
41
*/
42
- public function __construct(string $binFile, int $openFlag = null)
+ public function __construct(string $binFile, ?int $openFlag = null)
43
{
44
if (false === class_exists('\\IP2Location\\Database')) {
45
throw new FunctionNotFound('ip2location_database', 'The IP2LocationBinary requires IP2Location\'s library to be installed and loaded.');
0 commit comments