NullSorter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A sort() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Datapp\TableauExport\Sorter;
6
7
use Datapp\TableauExport\Sorter\SorterInterface;
8
9
/**
10
 * @author Manuel Dimmler
11
 */
12
class NullSorter implements SorterInterface
13
{
14
15
    /**
16
     * @param array<string, string> $data
17
     * @return array<string, string>
0 ignored issues
show
Documentation introduced by
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
18
     */
19 1
    public function sort(array $data): array
20
    {
21 1
        return $data;
22
    }
23
}
24