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(['bmp'], 'image/bmp'), |
|
28 | 9 | new Type(['gif'], 'image/gif'), |
|
29 | 9 | new Type(['ico'], 'image/x-icon'), |
|
30 | 9 | new Type(['jpg', 'jpeg'], 'image/jpeg'), |
|
31 | 9 | new Type(['png'], 'image/png'), |
|
32 | 9 | new Type(['svg'], 'image/svg+xml'), |
|
33 | 9 | new Type(['tif', 'tiff'], 'image/tiff'), |
|
34 | 9 | new Type(['webp'], 'image/webp'), |
|
35 | 9 | ]; |
|
36 | } |
||
37 | } |
||
38 |