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 coalesce operator in php >= 5.4.0 ? really? #196

Open
pbtlt opened this issue Aug 1, 2019 · 1 comment
Open

null coalesce operator in php >= 5.4.0 ? really? #196

pbtlt opened this issue Aug 1, 2019 · 1 comment

Comments

@pbtlt
Copy link

pbtlt commented Aug 1, 2019

This version positioned is to run on php 5.4.0+ but following code will not be compiled on versions under 7.0

protected function getRelevanceField()
{
if ($this->relevanceField ?? false) {
return $this->relevanceField;
}

@baratimur
Copy link

"nicolaslopezj/searchable": "1.10.*" for php 5

problematic commit : 3874f66#diff-a684410f1c0c617785bc98acd92b7aa2

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

2 participants