Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | 4 | public function newInstance(int $mode, string $filename) : UUEncodedPartHeaderContainer |
|
42 | { |
||
43 | 4 | $container = new UUEncodedPartHeaderContainer($this->logger, $this->headerFactory); |
|
44 | 4 | $container->setUnixFileMode($mode); |
|
45 | 4 | $container->setFilename($filename); |
|
46 | 4 | return $container; |
|
47 | } |
||
49 |