| Total Complexity | 6 | 
| Total Lines | 29 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 16 | final class NoSorting implements Sorting | ||
| 17 | { | ||
| 18 | private function __construct() | ||
| 19 |     { | ||
| 20 | } | ||
| 21 | |||
| 22 | public static function needed(): Sorting | ||
| 23 |     { | ||
| 24 | return new NoSorting; | ||
| 25 | } | ||
| 26 | |||
| 27 | public function field(): string | ||
| 28 |     { | ||
| 29 | return ''; | ||
| 30 | } | ||
| 31 | |||
| 32 | public function next(): Sorting | ||
| 33 |     { | ||
| 34 | return $this; | ||
| 35 | } | ||
| 36 | |||
| 37 | public function ascends(): bool | ||
| 38 |     { | ||
| 39 | return false; | ||
| 40 | } | ||
| 41 | |||
| 42 | public function isRequired(): bool | ||
| 45 | } | ||
| 46 | } | ||
| 47 |