Skip to content

Simplify RuleSet::addRule() #1015

Open
Open
@oliverklee

Description

@oliverklee

From #1004 (comment):

The local $rulesCount is probably unnecessary here, since count is atomic (!== [] might be possible if the type of $rules can be guaranteed to be an array), and end() could be used to access the last element. But that's beyond the scope of this PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions