Skip to content

Commit b7a4a47

Browse files
tommyseusTommy Seus
andauthored
[php-slim4-server] fix php syntax error in RegisterRoutes class (missing semicolon) (#18863)
Co-authored-by: Tommy Seus <tommy.seus@tmy.email>
1 parent 880df7a commit b7a4a47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

modules/openapi-generator/src/main/resources/php-slim4-server/register_routes.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,19 +206,19 @@ class RegisterRoutes
206206
'header' => $authMethod['keyParamName'],
207207
'parameter' => null,
208208
'cookie' => null,
209-
]
209+
];
210210
} else if ($authMethod['isKeyInQuery']) {
211211
$authenticatorConfig = [
212212
'header' => null,
213213
'parameter' => $authMethod['keyParamName'],
214214
'cookie' => null,
215-
]
215+
];
216216
} else if ($authMethod['isKeyInCookie']) {
217217
$authenticatorConfig = [
218218
'header' => null,
219219
'parameter' => null,
220220
'cookie' => $authMethod['keyParamName'],
221-
]
221+
];
222222
}
223223
$route->add(new TokenAuthentication($authenticatorConfig));
224224
}

0 commit comments

Comments
 (0)