This commit is contained in:
Alex Bilbie
2014-08-06 09:53:47 +01:00
parent 130d42c85e
commit 522c7478c7
7 changed files with 109 additions and 68 deletions

View File

@@ -144,7 +144,7 @@ abstract class AbstractGrant implements GrantTypeInterface
);
if (($scope instanceof ScopeEntity) === false) {
throw new Exception\InvalidScopeException($scopeItem);
throw new Exception\InvalidScopeException($scopeItem, true);
}
$scopes[$scope->getId()] = $scope;