diff --git a/src/AbstractRedisRawClient.php b/src/AbstractRedisRawClient.php index 421f510..59a9f8e 100644 --- a/src/AbstractRedisRawClient.php +++ b/src/AbstractRedisRawClient.php @@ -40,11 +40,6 @@ public function rawCommand(string $command, array $arguments) public function prepareRawCommandArguments(string $command, array $arguments) : array { - foreach ($arguments as $index => $argument) { - if (!is_scalar($arguments[$index])) { - $arguments[$index] = (string)$argument; - } - } array_unshift($arguments, $command); if ($this->logger) { $this->logger->debug(implode(' ', $arguments));