Skip to content

Commit c6aaf4b

Browse files
gowrizrhDen4ik
andauthored
chore: feedback changes
Co-authored-by: Denis Kopylov <[email protected]>
1 parent 6a3bdcc commit c6aaf4b

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
@@ -138,7 +138,7 @@ protected function convertMethodParameters($parameters)
138138
}
139139
$name = $parameter->attributes->getNamedItem('name')->nodeValue;
140140
$forceNode = $parameter->attributes->getNamedItem('force');
141-
$force = filter_var($forceNode ? $forceNode->nodeValue : false, FILTER_VALIDATE_BOOLEAN);
141+
$force = $forceNode ? filter_var($forceNode->nodeValue, FILTER_VALIDATE_BOOLEAN) : false;
142142
$value = $parameter->nodeValue;
143143
$data[$name] = [
144144
self::KEY_FORCE => $force,

0 commit comments

Comments
 (0)