Syntax improvements

This commit is contained in:
Alex Bilbie 2014-12-03 23:21:54 +00:00
parent 92404ab2bf
commit b8331d12e4
5 changed files with 14 additions and 14 deletions

View File

@ -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');
} }