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

syntax error, unexpected '?' #3

Open
kinmokusu opened this issue Mar 2, 2019 · 0 comments
Open

syntax error, unexpected '?' #3

kinmokusu opened this issue Mar 2, 2019 · 0 comments

Comments

@kinmokusu
Copy link

protected function getModeratedByAttributeValue(): ?int

I am getting this error


Caused by: ParseError
syntax error, unexpected '?'

in /var/www/html/mamandz/app/vendor/yii2mod/yii2-moderation/ModerationBehavior.php at line 266

I started getting it when i changed servers the old one used php 7.1 and the new 7.2. I don't know whether it is related to php version?

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