We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PHP Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) i
I have to change line 120
public function inheritedDatabaseFields() { return $this->owner::getSchema()->fieldSpecs($this->owner->getClassName()); }
to
public function inheritedDatabaseFields() { return $this->owner->getSchema()->fieldSpecs($this->owner->getClassName()); }
The text was updated successfully, but these errors were encountered:
howdy, got that last week but haven't had time fix it yet. Believe it is a PHP version issue.
That syntax is PHP7
What branch/tag are you on?
Sorry, something went wrong.
FIX Remove PHP 7 specific code syntax to restore PHP 5.6 compatibility
19850e5
PHP 5.6 is listed as the minimum requirement in composer.json, this restores that. Fixes WPP-Public#15
I've pushed a fix to #20 for this
5aa76a7
No branches or pull requests
PHP Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) i
I have to change line 120
public function inheritedDatabaseFields()
{
return $this->owner::getSchema()->fieldSpecs($this->owner->getClassName());
}
to
public function inheritedDatabaseFields()
{
return $this->owner->getSchema()->fieldSpecs($this->owner->getClassName());
}
The text was updated successfully, but these errors were encountered: