@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | /** |
| 67 | 67 | * @param string $compression |
| 68 | 68 | * |
| 69 | - * @return CompressorInterface |
|
| 69 | + * @return CompressionTypeInterface |
|
| 70 | 70 | * @throws InvalidCompressionTypeException |
| 71 | 71 | */ |
| 72 | 72 | public function getCompressor($compression) |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * @param string $compression CompressionType:: |
| 83 | 83 | * |
| 84 | - * @return DeCompressorInterface |
|
| 84 | + * @return CompressionTypeInterface |
|
| 85 | 85 | * @throws InvalidCompressionTypeException |
| 86 | 86 | */ |
| 87 | 87 | public function getDeCompressor($compression) |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | $outputFile = $node->getClone() |
| 28 | - ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.' . $this->getExtension()) |
|
| 29 | - ->setCompression($this->getName()); |
|
| 28 | + ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename'] . '.' . $this->getExtension()) |
|
| 29 | + ->setCompression($this->getName()); |
|
| 30 | 30 | |
| 31 | 31 | $this->log(LogLevel::INFO, "Compressing file: {file} into {target} using {compression}", [ |
| 32 | 32 | 'file' => $node, |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | $outputFile = $node->getClone() |
| 28 | - ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename']) |
|
| 29 | - ->setCompression(CompressionFactory::TYPE_NONE); |
|
| 28 | + ->setPath($pathInfo['dirname'] . '/' . $pathInfo['filename']) |
|
| 29 | + ->setCompression(CompressionFactory::TYPE_NONE); |
|
| 30 | 30 | |
| 31 | 31 | $this->log(LogLevel::INFO, "DeCompressing file: {file} into {target} using {compression}", [ |
| 32 | 32 | 'file' => $node, |