You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public function getProperty() : ?PropertyType {
return $this->property;
}
where our $property is a nullable PropertyType variable.
Currently, php-mode 1.19.1 will show an exception for that question mark. Is it possible to change a setting to make that work right or does it need to be implemented within php-mode?
The text was updated successfully, but these errors were encountered:
@Moghul
Thank you for suggestion. As you say, the symbol ? does not have its own face.
It is not difficult to write a pattern that colors ? in your quoted code, but I think that there is a slightly annoying problem when considering the consistency of the argument list and so on.
It depends not only on the pattern of php - mode but also on the implementation of Cc Mode.
We welcome if you have an idea to solve this problem.
Consider a function like
where our $property is a nullable PropertyType variable.
Currently, php-mode 1.19.1 will show an exception for that question mark. Is it possible to change a setting to make that work right or does it need to be implemented within php-mode?
The text was updated successfully, but these errors were encountered: