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)
  • Loading branch information
Tommy Seus committed Jun 5, 2024
1 parent 446e168 commit 96d61f7
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 96d61f7

Please sign in to comment.