]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/streams/crypto/class_NullCryptoStream.php
Added new general I/O stream classes and interfaces. Still the interfaces have no...
[core.git] / inc / classes / main / streams / crypto / class_NullCryptoStream.php
index 33ffdb82a4f860dbc4c82a8c52d9fea234a3b5d5..bcaab6f007e631b040bbd6118605349b083c8995 100644 (file)
@@ -38,7 +38,7 @@ class NullCryptoStream extends BaseStream implements EncryptableStream {
         *
         * @return      $streamInstance         An instance of this node class
         */
-       public final static function createNullCryptoStream () {
+       public static final function createNullCryptoStream () {
                // Get a new instance
                $streamInstance = new NullCryptoStream();
 
@@ -66,7 +66,7 @@ class NullCryptoStream extends BaseStream implements EncryptableStream {
         * @param       $encrypted      Encrypted string
         * @return      $str            The unencrypted string
         */
-       function decryptStream ($encrypted) {
+       public function decryptStream ($encrypted) {
                // Just handle it over
                $str = (string) $encrypted;