Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
24 | 9 | public function getMap() |
|
25 | { |
||
26 | return [ |
||
27 | 9 | new Type(['7z'], 'application/x-7z-compressed'), |
|
28 | 9 | new Type(['bz'], 'application/x-bzip'), |
|
29 | 9 | new Type(['bz2'], 'application/x-bzip2'), |
|
30 | 9 | new Type(['gz'], 'application/gzip'), |
|
31 | 9 | new Type(['jar'], 'application/java-archive'), |
|
32 | 9 | new Type(['rar'], 'application/x-rar-compressed'), |
|
33 | 9 | new Type(['tar'], 'application/x-tar'), |
|
34 | 9 | new Type(['zip'], 'application/zip'), |
|
35 | 9 | ]; |
|
36 | } |
||
37 | } |
||
38 |