mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-05 19:43:56 +05:30
Syntax improvements
This commit is contained in:
parent
92404ab2bf
commit
b8331d12e4
@ -65,7 +65,7 @@ class PasswordGrant extends AbstractGrant
|
|||||||
*/
|
*/
|
||||||
protected function getVerifyCredentialsCallback()
|
protected function getVerifyCredentialsCallback()
|
||||||
{
|
{
|
||||||
if (is_null($this->callback) || ! is_callable($this->callback)) {
|
if (is_null($this->callback) || !is_callable($this->callback)) {
|
||||||
throw new Exception\ServerErrorException('Null or non-callable callback set on Password grant');
|
throw new Exception\ServerErrorException('Null or non-callable callback set on Password grant');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user