Some cleanups, more usage of ObjectFactory:
[core.git] / inc / classes / interfaces / crypto / class_Cryptable.php
index 613f5057707dcd97590b998614fe5b7a0bd0689a..14533c3d6053aa314d770e1da9b5ac18d11a0fe1 100644 (file)
@@ -41,7 +41,7 @@ interface Cryptable extends FrameworkInterface {
         * @param       $key            Optional key, if none provided, a random key will be generated
         * @return      $encrypted      Encrypted string
         */
-       function encryptString ($str, $key = null);
+       function encryptString ($str, $key = NULL);
 
        /**
         * Decrypt the string with fixed salt