Skip to content

Commit 733d2ed

Browse files
authored
fix
1 parent 6ac378e commit 733d2ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/resources/php/HeaderSelector.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class HeaderSelector
173173
if (preg_match('/(.*);\s*q=(1(?:\.0+)?|0\.\d+)$/', $header, $outputArray) === 1) {
174174
$headerData = [
175175
'header' => $outputArray[1],
176-
'weight' => (int)($outputArray[2] * 1000),
176+
'weight' => (int)$outputArray[2] * 1000,
177177
];
178178
} else {
179179
$headerData = [

0 commit comments

Comments
 (0)