]> git.mxchange.org Git - core.git/blobdiff - framework/main/interfaces/compressor/class_Compressor.php
Continued:
[core.git] / framework / main / interfaces / compressor / class_Compressor.php
index 3e467fe0ab432deffff9780c76d9f0614c2e923a..a8aa359d592320f57abe295ffbca854f8e4596e4 100644 (file)
@@ -35,7 +35,7 @@ interface Compressor extends FrameworkInterface {
         * @return      $streamData             The compressed stream data
         * @throws      InvalidArgumentException        If the stream is not compressable or decompressable
         */
-       function compressStream ($streamData);
+       function compressStream (string $streamData);
 
        /**
         * A decompression stream
@@ -44,7 +44,7 @@ interface Compressor extends FrameworkInterface {
         * @return      $streamData             The decompressed stream data
         * @throws      InvalidArgumentException        If the stream is not compressable or decompressable
         */
-       function decompressStream ($streamData);
+       function decompressStream (string $streamData);
 
        /**
         * Getter for the file extension of this compressor