diff --git a/Client/Phpredis/Client.php b/Client/Phpredis/Client.php index c0879c49..9d1028c0 100644 --- a/Client/Phpredis/Client.php +++ b/Client/Phpredis/Client.php @@ -65,7 +65,7 @@ private function call($name, array $arguments = array()) $error = false; if (false === $result) { - $error = call_user_func('parent::getLastError'); + $error = parent::getLastError(); } $this->logger->logCommand($this->getCommandString($name, $arguments), $duration, $this->alias, $error);