PHPUnit > increase code coverage

This commit is contained in:
Meritoo
2019-04-06 08:14:48 +02:00
parent a13a629408
commit e05bc2302d
3 changed files with 128 additions and 7 deletions

View File

@@ -204,13 +204,6 @@ class Repository
*/
private static function isSorted($item)
{
// Not sortable?
if (!self::isSortable($item)) {
return false;
}
// It's an object or it's an array and position has been set?
return
(is_object($item) && null !== $item->getPosition())
||