Skip to content

Commit

Permalink
[php-slim4-server] fix php syntax error in RegisterRoutes class (miss…
Browse files Browse the repository at this point in the history
…ing semicolon) (#18863)

Co-authored-by: Tommy Seus <[email protected]>
  • Loading branch information
tommyseus and Tommy Seus committed Jun 5, 2024
1 parent 880df7a commit b7a4a47
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit b7a4a47

Please sign in to comment.