make StyleCI happy

This commit is contained in:
Julián Gutiérrez 2016-03-08 21:59:10 +01:00
parent 1632b80631
commit 1bdeb71efb
2 changed files with 2 additions and 1 deletions

View File

@ -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;
} }

View File

@ -337,7 +337,7 @@ class AuthCodeGrant extends AbstractGrant
} }
/** /**
* @inheritdoc * {@inheritdoc}
*/ */
public function canRespondToRequest(ServerRequestInterface $request) public function canRespondToRequest(ServerRequestInterface $request)
{ {