From 7ae798c938b0a530af82b5bdb607230d3da4f7ca Mon Sep 17 00:00:00 2001 From: Iman Date: Mon, 25 Apr 2022 18:59:31 +0430 Subject: [PATCH] remove unused private method (#42115) --- .../Redis/Connections/PhpRedisConnection.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/Illuminate/Redis/Connections/PhpRedisConnection.php b/src/Illuminate/Redis/Connections/PhpRedisConnection.php index 4842a165229c..d4c1f6762e6b 100644 --- a/src/Illuminate/Redis/Connections/PhpRedisConnection.php +++ b/src/Illuminate/Redis/Connections/PhpRedisConnection.php @@ -553,19 +553,6 @@ public function disconnect() $this->client->close(); } - /** - * Apply a prefix to the given key if necessary. - * - * @param string $key - * @return string - */ - private function applyPrefix($key) - { - $prefix = (string) $this->client->getOption(Redis::OPT_PREFIX); - - return $prefix.$key; - } - /** * Pass other method calls down to the underlying client. *