File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
src/main/php/io/archive/zip Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11<?php namespace io \archive \zip ;
22
3- use io \streams \{
4- InputStream ,
5- OutputStream ,
6- Bz2CompressingOutputStream ,
7- Bz2DecompressingInputStream ,
3+ use io \streams \compress \{
4+ Bzip2OutputStream ,
5+ Bzip2InputStream ,
86 DeflatingOutputStream ,
97 InflatingInputStream
108};
9+ use io \streams \{InputStream , OutputStream };
1110use lang \{Enum , IllegalArgumentException };
1211
1312/**
@@ -72,11 +71,11 @@ public function getDecompressionStream(InputStream $in) {
7271 static function __static () { }
7372
7473 public function getCompressionStream (OutputStream $ out , $ level = 6 ) {
75- return new Bz2CompressingOutputStream ($ out , $ level );
74+ return new Bzip2OutputStream ($ out , $ level );
7675 }
7776
7877 public function getDecompressionStream (InputStream $ in ) {
79- return new Bz2DecompressingInputStream ($ in );
78+ return new Bzip2InputStream ($ in );
8079 }
8180 };
8281 }
You can’t perform that action at this time.
0 commit comments