From cbf78147b32473aeb48051bb63403a82ac47d916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Beli=C3=ABn?= Date: Sat, 2 Mar 2024 12:00:56 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Apply=20PHP=20CS=20Fixer=20fixes?= =?UTF-8?q?=20(#1219)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MaxMindBinary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MaxMindBinary.php b/MaxMindBinary.php index 4a1df26..560ec74 100644 --- a/MaxMindBinary.php +++ b/MaxMindBinary.php @@ -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?');