@@ -24,7 +24,7 @@ class ZlibFilterStream extends TransformStream
2424 */
2525 public static function createGzipCompressor ($ level = -1 )
2626 {
27- return new Compressor (15 | 16 /* ZLIB_ENCODING_GZIP */ , $ level );
27+ return new Compressor (ZLIB_ENCODING_GZIP , $ level );
2828 }
2929
3030 /**
@@ -33,7 +33,7 @@ public static function createGzipCompressor($level = -1)
3333 */
3434 public static function createGzipDecompressor ()
3535 {
36- return new Decompressor (15 | 16 /* ZLIB_ENCODING_GZIP */ );
36+ return new Decompressor (ZLIB_ENCODING_GZIP );
3737 }
3838
3939 /**
@@ -42,7 +42,7 @@ public static function createGzipDecompressor()
4242 */
4343 public static function createDeflateCompressor ($ level = -1 )
4444 {
45- return new Compressor (- 15 /* ZLIB_ENCODING_RAW */ , $ level );
45+ return new Compressor (ZLIB_ENCODING_RAW , $ level );
4646 }
4747
4848 /**
@@ -51,7 +51,7 @@ public static function createDeflateCompressor($level = -1)
5151 */
5252 public static function createDeflateDecompressor ()
5353 {
54- return new Decompressor (- 15 /* ZLIB_ENCODING_RAW */ );
54+ return new Decompressor (ZLIB_ENCODING_RAW );
5555 }
5656
5757 /**
@@ -60,7 +60,7 @@ public static function createDeflateDecompressor()
6060 */
6161 public static function createZlibCompressor ($ level = -1 )
6262 {
63- return new Compressor (15 /* ZLIB_ENCODING_DEFLATE */ , $ level );
63+ return new Compressor (ZLIB_ENCODING_DEFLATE , $ level );
6464 }
6565
6666 /**
@@ -69,7 +69,7 @@ public static function createZlibCompressor($level = -1)
6969 */
7070 public static function createZlibDecompressor ()
7171 {
72- return new Decompressor (15 /* ZLIB_ENCODING_DEFLATE */ );
72+ return new Decompressor (ZLIB_ENCODING_DEFLATE );
7373 }
7474
7575 private $ filter ;
0 commit comments