Add a summary for hasRedirect function

This commit is contained in:
Andrew Millington 2018-05-25 09:53:59 +01:00
parent 466e1a639d
commit 68c9fbd83c
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F

View File

@ -304,6 +304,8 @@ class OAuthServerException extends \Exception
}
/**
* Check if the exception has an associated redirect URI.
*
* Returns whether the exception includes a redirect, since
* getHttpStatusCode() doesn't return a 302 when there's a
* redirect enabled. This helps when you want to override local