Skip to content

Commit

Permalink
Merge pull request #325 from aurimasniekis/patch-2
Browse files Browse the repository at this point in the history
Fixed last pull request according comments
  • Loading branch information
snc authored Feb 16, 2017
2 parents 5d246d8 + eeddac6 commit 02c808d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Phpredis/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 02c808d

Please sign in to comment.