We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72b847c + 74339a0 commit fb248ddCopy full SHA for fb248dd
src/Validator/StringValidator.php
@@ -105,7 +105,7 @@ public function url()
105
public function match(string $key_to_match)
106
{
107
$this->isStringAndValid($key_to_match);
108
- if (isset($this->data_source[$key_to_match]) && (strlen($this->field_value) != strlen($this->data_source[$key_to_match])) && ($this->field_value != $this->data_source[$key_to_match])) {
+ if (isset($this->data_source[$key_to_match]) && ($this->field_value != $this->data_source[$key_to_match])) {
109
$this->messageItem
110
->type('string.match')
111
->message("`$this->field_name` should match `$key_to_match`")
0 commit comments