From 37726aaa6b506794334338e856ddbf3d7374515b Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Fri, 28 Aug 2026 22:58:22 +0800 Subject: [PATCH] style: fix rector on `4.8` --- system/Commands/Encryption/RotateKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Commands/Encryption/RotateKey.php b/system/Commands/Encryption/RotateKey.php index ade51d6f12e0..0322a659ac52 100644 --- a/system/Commands/Encryption/RotateKey.php +++ b/system/Commands/Encryption/RotateKey.php @@ -229,7 +229,7 @@ private function mergePreviousKeys(string $currentKey, array $existing, int $kee } if ($keep > 0) { - $result = array_slice($result, 0, $keep); + return array_slice($result, 0, $keep); } return $result;