Skip to content

Commit 165b503

Browse files
authored
Added more PHP7 type hints. (#689)
* Adding type hints * Added more type hints * Added PHP7 type hints * style fixes * Added type hints
1 parent afd9632 commit 165b503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaxMindBinary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class MaxMindBinary extends AbstractProvider implements Provider, IpAddres
4343
* @throws FunctionNotFound if maxmind's lib not installed
4444
* @throws InvalidArgument if dat file is not correct (optional)
4545
*/
46-
public function __construct($datFile, $openFlag = null)
46+
public function __construct(string $datFile, int $openFlag = null)
4747
{
4848
if (false === function_exists('geoip_open')) {
4949
throw new FunctionNotFound(

0 commit comments

Comments
 (0)