|
@@ -109,7 +109,7 @@ class XmlDeserializationVisitor extends AbstractVisitor
|
|
|
} elseif ('false' === $data || '0' === $data) {
|
|
|
$data = false;
|
|
|
} else {
|
|
|
- throw new RuntimeException(sprintf('Could not convert data to boolean. Expected "true", or "false", but got %s.', json_encode($data)));
|
|
|
+ throw new RuntimeException(sprintf('Could not convert data to boolean. Expected "true", "false", "1" or "0", but got %s.', json_encode($data)));
|
|
|
}
|
|
|
|
|
|
if (null === $this->result) {
|