PHPCS fixes

This commit is contained in:
Alex Bilbie
2014-05-03 11:08:33 +01:00
parent 5c8ed58c67
commit b82551c97d
10 changed files with 42 additions and 16 deletions

View File

@@ -174,7 +174,7 @@ class AuthorizationServer extends AbstractServer
$this->grantTypes[$identifier] = $grantType;
if ( ! is_null($grantType->getResponseType())) {
if (!is_null($grantType->getResponseType())) {
$this->responseTypes[] = $grantType->getResponseType();
}
@@ -316,7 +316,7 @@ class AuthorizationServer extends AbstractServer
}
// Ensure grant type is one that is recognised and is enabled
if ( ! in_array($grantType, array_keys($this->grantTypes))) {
if (!in_array($grantType, array_keys($this->grantTypes))) {
throw new Exception\UnsupportedGrantTypeException($grantType);
}