From 8e9b12fefd437f73cdf14fcfccb0dcd5f8a8302e Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 6 Apr 2015 08:23:35 +0100 Subject: [PATCH] Code readability --- src/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.php b/src/Server.php index 6b788ee7..5a7bfaa6 100644 --- a/src/Server.php +++ b/src/Server.php @@ -111,7 +111,7 @@ class Server extends AbstractServer // Run the requested grant type $grantType = $request->request->get('grant_type', null); - if ($grantType === null || !isset($this->enabledGrantTypes[$grantType])) { + if ($grantType === null || isset($this->enabledGrantTypes[$grantType]) === false) { throw new Exception\InvalidGrantException($grantType); }