Skip to content

Commit 596d4a7

Browse files
committed
Fix error message in command option getter
1 parent 13d3777 commit 596d4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Redis/Command/Option/WithPublicGroupedSetterTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __call(string $name, array $arguments): self
5858
return $this->setDataOfOption($snakeCase, $arguments[0]);
5959
}
6060

61-
throw new BadMethodCallException(sprintf('Call undefined method %s is not callable in %s', $name, get_class($this)));
61+
throw new BadMethodCallException(sprintf('Call undefined method %s in %s', $name, get_class($this)));
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)