mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-03 18:51:53 +05:30
Syntax improvements
This commit is contained in:
parent
92404ab2bf
commit
b8331d12e4
@ -65,7 +65,7 @@ class PasswordGrant extends AbstractGrant
|
||||
*/
|
||||
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');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user