From d5c898329391ca9b5103110ce93b13d8b2c679ae Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Wed, 25 Jul 2012 12:03:50 +0100 Subject: [PATCH] Removed typecasting of parameters and tidied up appearance --- src/Oauth2/Server.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Oauth2/Server.php b/src/Oauth2/Server.php index 631ed00b..a2492cf6 100644 --- a/src/Oauth2/Server.php +++ b/src/Oauth2/Server.php @@ -243,9 +243,14 @@ maintenance of the server.' * @param string $accessToken The access token (default = null) * @return string An authorisation code */ - public function newAuthCode(string $clientId, $type = 'user', - string $typeId, string $redirectUri, $scopes = array(), - string $accessToken = null) + public function newAuthCode( + $clientId, + $type = 'user', + $typeId, + $redirectUri, + $scopes = array(), + $accessToken = null + ) { $authCode = $this->generateCode();