NullSorter::sort()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 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