Skip to content

use !empty() instead of count() > 0 where possible #981

@tmotyl

Description

@tmotyl

In many places magento calls count() just to check if array is empty.
These places should be changed to use !empty() instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions