Skip to content

Commit

Permalink
remove unused private method (#42115)
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 committed Apr 25, 2022
1 parent 8e2db7f commit 7ae798c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Illuminate/Redis/Connections/PhpRedisConnection.php
Expand Up @@ -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.
*
Expand Down

0 comments on commit 7ae798c

Please sign in to comment.