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.
1 parent 7e364fd commit 2e98f9dCopy full SHA for 2e98f9d
app/code/Magento/Webapi/Model/Config/Converter.php
@@ -138,7 +138,7 @@ protected function convertMethodParameters($parameters)
138
}
139
$name = $parameter->attributes->getNamedItem('name')->nodeValue;
140
$forceNode = $parameter->attributes->getNamedItem('force');
141
- $force = $forceNode ? (bool)$forceNode->nodeValue : false;
+ $force = filter_var($forceNode->nodeValue, FILTER_VALIDATE_BOOLEAN);
142
$value = $parameter->nodeValue;
143
$data[$name] = [
144
self::KEY_FORCE => $force,
0 commit comments