Skip to content

Commit 372221b

Browse files
committed
Merge branch 'fix/param_override' of github.com:gowrizrh/magento2 into fix/param_override
2 parents ae6a043 + c6aaf4b commit 372221b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Webapi/Model/Config/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function convertMethodParameters($parameters)
139139
}
140140
$name = $parameter->attributes->getNamedItem('name')->nodeValue;
141141
$forceNode = $parameter->attributes->getNamedItem('force');
142-
$force = filter_var($forceNode ? $forceNode->nodeValue : false, FILTER_VALIDATE_BOOLEAN);
142+
$force = $forceNode ? filter_var($forceNode->nodeValue, FILTER_VALIDATE_BOOLEAN) : false;
143143
$value = $parameter->nodeValue;
144144
$data[$name] = [
145145
self::KEY_FORCE => $force,

0 commit comments

Comments
 (0)