diff --git a/src/XML/ecp/RequestAuthenticated.php b/src/XML/ecp/RequestAuthenticated.php index e452b493b..735dd2b3e 100644 --- a/src/XML/ecp/RequestAuthenticated.php +++ b/src/XML/ecp/RequestAuthenticated.php @@ -71,7 +71,7 @@ public static function fromXML(DOMElement $xml): static $mustUnderstand = $xml->getAttributeNS(C::NS_SOAP_ENV_11, 'mustUnderstand'); Assert::nullOrOneOf( - $mustUnderstand, + $mustUnderstand, ['0', '1'], 'Invalid value of env:mustUnderstand attribute in .', ProtocolViolationException::class,