From 8b0f8533dec40a7b377caa0c964831e76f7d78f1 Mon Sep 17 00:00:00 2001 From: objecttothis <17935339+objecttothis@users.noreply.github.com> Date: Mon, 24 Aug 2026 21:46:12 +0400 Subject: [PATCH] fix(email): update method call to camelCase for PSR-12 compliance (#4659) Corrected `check_encryption()` to `checkEncryption()` to align with coding standards. Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com> --- app/Libraries/Email_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libraries/Email_lib.php b/app/Libraries/Email_lib.php index 0f1f225d5..30ce547e5 100644 --- a/app/Libraries/Email_lib.php +++ b/app/Libraries/Email_lib.php @@ -29,7 +29,7 @@ class Email_lib $encrypter = Services::encrypter(); $smtp_pass = $this->config['smtp_pass'] ?? ''; - if (!empty($smtp_pass) && check_encryption()) { + if (!empty($smtp_pass) && checkEncryption()) { try { $smtp_pass = $encrypter->decrypt($smtp_pass); } catch (\EncryptionException $e) {