From 016b0c1801f4c6b0bb79b0d82791f4853ed19fc5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 12 May 2022 15:47:59 -0500 Subject: [PATCH] Revert "Update Encrypter.php (#42370)" (#42372) This reverts commit eb5d3dd0d6b44961bb5a4dbe45417fa11abff76b. --- src/Illuminate/Encryption/Encrypter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Encryption/Encrypter.php b/src/Illuminate/Encryption/Encrypter.php index 8cbb9306438b..ff9d88f8ca41 100755 --- a/src/Illuminate/Encryption/Encrypter.php +++ b/src/Illuminate/Encryption/Encrypter.php @@ -148,7 +148,7 @@ public function encryptString($value) */ public function decrypt($payload, $unserialize = true) { - $payload = $this->getJsonPayload((string) $payload); + $payload = $this->getJsonPayload($payload); $iv = base64_decode($payload['iv']);