DescendingSorter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
wmc 1
eloc 2
c 2
b 0
f 2
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOrder() 0 3 1
1
<?php
2
3
namespace Jackal\Copycat\Sorter\ValueSorter;
4
5
/**
6
 * Class DescendingSorter
7
 * @package Jackal\Copycat\Sorter\ValueSorter
8
 */
9
class DescendingSorter extends AscendingSorter
10
{
11
    /**
12
     * @return int
13
     */
14
    protected function getOrder()
15
    {
16
        return SORT_DESC;
17
    }
18
}
19