mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-12 08:19:00 +05:30
make StyleCI happy
This commit is contained in:
parent
1632b80631
commit
1bdeb71efb
@ -277,6 +277,7 @@ abstract class AbstractGrant implements GrantTypeInterface
|
|||||||
protected function getRequestParameter($parameter, ServerRequestInterface $request, $default = null)
|
protected function getRequestParameter($parameter, ServerRequestInterface $request, $default = null)
|
||||||
{
|
{
|
||||||
$requestParameters = (array) $request->getParsedBody();
|
$requestParameters = (array) $request->getParsedBody();
|
||||||
|
|
||||||
return isset($requestParameters[$parameter]) ? $requestParameters[$parameter] : $default;
|
return isset($requestParameters[$parameter]) ? $requestParameters[$parameter] : $default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -337,7 +337,7 @@ class AuthCodeGrant extends AbstractGrant
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function canRespondToRequest(ServerRequestInterface $request)
|
public function canRespondToRequest(ServerRequestInterface $request)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user