Skip to content

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

@lippserd

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.

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