Skip to content

Commit

Permalink
🚨 Apply PHP CS Fixer fixes (#1219)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored Mar 2, 2024
1 parent c078071 commit cbf7814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MaxMindBinary.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class MaxMindBinary extends AbstractProvider implements Provider
* @throws FunctionNotFound if maxmind's lib not installed
* @throws InvalidArgument if dat file is not correct (optional)
*/
public function __construct(string $datFile, int $openFlag = null)
public function __construct(string $datFile, ?int $openFlag = null)
{
if (false === function_exists('geoip_open')) {
throw new FunctionNotFound('geoip_open', 'The MaxMindBinary requires maxmind\'s lib to be installed and loaded. Have you included geoip.inc file?');
Expand Down

0 comments on commit cbf7814

Please sign in to comment.