DescendingSorter::getOrder()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
eloc 1
c 2
b 0
f 2
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
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