The code may simply return falseif the array is $this->_brokenRulesCollectionnot empty.
If $this->_brokenRulesCollectionit is not an array or object with a implemented counter interface, then it count($this->_brokenRulesCollection)will return.
source
share