mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-08 08:30:56 +00:00
[php-slim4-server] fix php syntax error in RegisterRoutes class (missing semicolon) (#18863)
Co-authored-by: Tommy Seus <tommy.seus@tmy.email>
This commit is contained in:
parent
880df7a7a4
commit
b7a4a47270
@ -206,19 +206,19 @@ class RegisterRoutes
|
||||
'header' => $authMethod['keyParamName'],
|
||||
'parameter' => null,
|
||||
'cookie' => null,
|
||||
]
|
||||
];
|
||||
} else if ($authMethod['isKeyInQuery']) {
|
||||
$authenticatorConfig = [
|
||||
'header' => null,
|
||||
'parameter' => $authMethod['keyParamName'],
|
||||
'cookie' => null,
|
||||
]
|
||||
];
|
||||
} else if ($authMethod['isKeyInCookie']) {
|
||||
$authenticatorConfig = [
|
||||
'header' => null,
|
||||
'parameter' => null,
|
||||
'cookie' => $authMethod['keyParamName'],
|
||||
]
|
||||
];
|
||||
}
|
||||
$route->add(new TokenAuthentication($authenticatorConfig));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user