Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Commit d6b5a8f

Browse files
authored
Fixed #207: Replaced using Response as array
1 parent 68bbd53 commit d6b5a8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Validator/Constraints/IsTrueValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function validate($value, Constraint $constraint)
134134
$this->context->addViolation($constraint->message);
135135
}
136136
// Perform server side hostname check
137-
elseif ($this->verifyHost && $response['hostname'] !== $masterRequest->getHost()) {
137+
elseif ($this->verifyHost && $response->getHostname() !== $masterRequest->getHost()) {
138138
$this->context->addViolation($constraint->invalidHostMessage);
139139
}
140140
}

0 commit comments

Comments
 (0)