zoilomora / doctrine-dbal-msaccess

An implementation of the doctrine/dbal library to support Microsoft Access databases in Microsoft OS.
https://packagist.org/packages/zoilomora/doctrine-dbal-msaccess
MIT License
16 stars 10 forks source link

Null Type in Driver.php class issue. #13

Open NicoMachado opened 3 years ago

NicoMachado commented 3 years ago

Hi, I have an error in this line, in file Driver.php:

protected ?ODBCConnection $odbcConnection = null;

I've read about Null Types on internet and it's supposed to be supported from php 7.1... and I'm running on 7.3+

Is there any other requirement ?

I'm using laravel 7, and the error says:

ParseError
syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST)

Best Regards

NicoMachado commented 3 years ago

Looks like is 7.4+ !