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