diff --git a/system/Encryption/Encryption.php b/system/Encryption/Encryption.php index 81b25eeff5f5..fda9906240cb 100644 --- a/system/Encryption/Encryption.php +++ b/system/Encryption/Encryption.php @@ -149,7 +149,7 @@ public static function createKey($length = 32) * * @param string $key Property name * - * @return mixed + * @return array|string|null */ public function __get($key) { diff --git a/system/Encryption/Handlers/BaseHandler.php b/system/Encryption/Handlers/BaseHandler.php index 13f60e970362..64195672439e 100644 --- a/system/Encryption/Handlers/BaseHandler.php +++ b/system/Encryption/Handlers/BaseHandler.php @@ -61,7 +61,7 @@ protected static function substr($str, $start, $length = null) * * @param string $key Property name * - * @return mixed + * @return array|bool|int|string|null */ public function __get($key) {