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 6a3bdcc commit c6aaf4bCopy full SHA for c6aaf4b
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 = filter_var($forceNode ? $forceNode->nodeValue : false, FILTER_VALIDATE_BOOLEAN);
+ $force = $forceNode ? filter_var($forceNode->nodeValue, FILTER_VALIDATE_BOOLEAN) : false;
142
$value = $parameter->nodeValue;
143
$data[$name] = [
144
self::KEY_FORCE => $force,
0 commit comments