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
{{ message }}
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
Describe the bug
I have a class with @color and its method with another @color.
I expect the method to have both colors (in order class-color + method-color), but it works somehow differently.
Expected behavior
No error (the second rule should be matched);
Actual behavior
An error (the first rule is matched)
BTW, if I add @color allow-model-call as a second color to the Controller class itself, everything works as expected. So, the problem is only in class+method case.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a class with
@color
and its method with another@color
.I expect the method to have both colors (in order class-color + method-color), but it works somehow differently.
To Reproduce
PHP code
palette.yaml
Expected behavior
No error (the second rule should be matched);
Actual behavior
An error (the first rule is matched)
BTW, if I add
@color allow-model-call
as a second color to theController
class itself, everything works as expected. So, the problem is only in class+method case.The text was updated successfully, but these errors were encountered: