9
9
* @example https://www.johnconde.net/blog/php-simple-encryption/ PHP Simple Encryption
10
10
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
11
11
* @link https://github.com/stymiee/php-simple-encryption
12
- * @version 1.0.4
12
+ * @version 1.0.7
13
13
*/
14
14
15
15
declare (strict_types=1 );
@@ -39,11 +39,11 @@ class Encryption
39
39
* change with each version of this library.
40
40
*
41
41
* @param string|null $cipher
42
- * @uses \Encryption\Encryption::getCipherMethods()
43
- * @uses \Encryption\Encryption::createEncryptionObject()
44
42
* @return ACipher
45
43
* @throws CipherNotImplementedException
46
44
* @throws InvalidCipherException
45
+ * @uses Encryption::createEncryptionObject
46
+ * @uses Encryption::getCipherMethods
47
47
*/
48
48
public static function getEncryptionObject (?string $ cipher = null ): ACipher
49
49
{
@@ -87,9 +87,9 @@ protected static function createClassName(string $cipher): string
87
87
* Creates the encryption object using the specified cipher.
88
88
*
89
89
* @param string $cipher
90
- * @uses \Encryption\Encryption::createClassName()
91
90
* @return ACipher
92
91
* @throws CipherNotImplementedException
92
+ *@uses Encryption::createClassName
93
93
*/
94
94
protected static function createEncryptionObject (string $ cipher ): ACipher
95
95
{
@@ -104,9 +104,9 @@ protected static function createEncryptionObject(string $cipher): ACipher
104
104
/**
105
105
* Returns all ciphers that are available on the system AND is supported by this library.
106
106
*
107
- * @uses \Encryption\Encryption::getCipherMethods()
108
- * @uses \Encryption\Encryption::createClassName()
109
107
* @return array
108
+ * @uses Encryption::createClassName
109
+ * @uses Encryption::getCipherMethods
110
110
*/
111
111
public static function listAvailableCiphers (): array
112
112
{
0 commit comments