Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Type in Driver.php class issue. #13

Open
NicoMachado opened this issue Jul 7, 2021 · 1 comment
Open

Null Type in Driver.php class issue. #13

NicoMachado opened this issue Jul 7, 2021 · 1 comment

Comments

@NicoMachado
Copy link

NicoMachado commented Jul 7, 2021

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
Copy link
Author

Looks like is 7.4+ !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant