mirror of
https://github.com/predis/predis.git
synced 2026-10-06 20:09:25 +00:00
[tests] Fix a couple of glitches in our base PHPUnit classes.
This commit is contained in:
@@ -26,7 +26,7 @@ class RedisCommandConstraint extends PHPUnit_Framework_Constraint
|
||||
{
|
||||
if ($command instanceof CommandInterface) {
|
||||
$this->commandID = strtoupper($command->getId());
|
||||
$this->arguments = $arguments ?: $commant->getArguments();
|
||||
$this->arguments = $arguments ?: $command->getArguments();
|
||||
} else {
|
||||
$this->commandID = strtoupper($command);
|
||||
$this->arguments = $arguments;
|
||||
|
||||
Reference in New Issue
Block a user