Skip to content

RewriteFilterBehavior::rewriteCondition() Argument and return type do not match #45

Description

@lippserd

RewriteFilterBehavior::rewriteCondition() expects Filter\Condition but allows Filter\Rule to be returned. This can also return Chain, such as in FlattenedObjectVars. This breaks any behavior that follows a behavior that returns something other than Filter\Condition, as behaviors are processed sequentially, using the previous behavior's result for the current one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions