]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/streams/crypto/null/class_NullCryptoStream.php
Continued:
[core.git] / framework / main / classes / streams / crypto / null / class_NullCryptoStream.php
index 978320dd9521c39720401adc0680e6e7a4fe18f3..8365c8d157a34347b05a8ef8e13581fb4617507a 100644 (file)
@@ -87,7 +87,7 @@ class NullCryptoStream extends BaseCryptoStream implements EncryptableStream {
         */
        public function streamData (string $data) {
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
-               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+               throw new UnsupportedOperationException([$this, __FUNCTION__], self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 
 }