]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing typos and PHPDoc
authorThomas Müller <thomas.mueller@tmit.eu>
Thu, 8 Aug 2013 13:08:58 +0000 (15:08 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Thu, 8 Aug 2013 13:08:58 +0000 (15:08 +0200)
apps/files_encryption/lib/crypt.php
apps/files_encryption/tests/crypt.php

index 95ea3a888be7793bd8d29082848cb78f722e632f..99c11d0c5fb064df91d1041d0a76c4e4d47ad69a 100755 (executable)
@@ -25,7 +25,6 @@
 \r
 namespace OCA\Encryption;\r
 \r
-//require_once '../3rdparty/Crypt_Blowfish/Blowfish.php';\r
 require_once realpath(dirname(__FILE__) . '/../3rdparty/Crypt_Blowfish/Blowfish.php');\r
 \r
 /**\r
@@ -514,11 +513,11 @@ class Crypt {
        }\r
 \r
        /**\r
-        * @brief Get the blowfish encryption handeler for a key\r
+        * @brief Get the blowfish encryption handler for a key\r
         * @param $key string (optional)\r
         * @return \Crypt_Blowfish blowfish object\r
         *\r
-        * if the key is left out, the default handeler will be used\r
+        * if the key is left out, the default handler will be used\r
         */\r
        private static function getBlowfish($key = '') {\r
 \r
@@ -571,4 +570,4 @@ class Crypt {
                }\r
        }\r
 \r
-}
\ No newline at end of file
+}\r
index b7b16f25dca1e5a3a64d386da818438c1b7443b3..2330a45be841bbdafcc0484ee9e17eadd6435156 100755 (executable)
@@ -656,9 +656,10 @@ class Test_Encryption_Crypt extends \PHPUnit_Framework_TestCase {
        
        
        /**
-        * @brief ncryption using legacy blowfish method
-        * @param data data to encrypt
-        * @param passwd password
+        * @brief encryption using legacy blowfish method
+        * @param $data string data to encrypt
+        * @param $passwd string password
+        * @return string
         */
        function legacyEncrypt($data, $passwd) {