]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/streams/crypto/openssl/class_OpenSslStream.php
Continued:
[core.git] / framework / main / classes / streams / crypto / openssl / class_OpenSslStream.php
index 8ec20d1dce5e12a01dd9a55d2bd4ae1b719e4f6b..62bd3fb8d4c2dd50edfab8de9e3c46f3cd88edda 100644 (file)
@@ -177,7 +177,7 @@ class OpenSslStream 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);
        }
 
 }