From c5f48782e6a25cdaece05b3923aaf27475c15118 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Fri, 17 Jan 2014 17:16:52 +0000 Subject: [PATCH] $accessToken should be protected not public --- src/League/OAuth2/Server/Resource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/League/OAuth2/Server/Resource.php b/src/League/OAuth2/Server/Resource.php index 61d80229..8c7af57c 100644 --- a/src/League/OAuth2/Server/Resource.php +++ b/src/League/OAuth2/Server/Resource.php @@ -29,7 +29,7 @@ class Resource extends AbstractServer * The access token * @var League\OAuth2\Server\AccessToken */ - public $accessToken; + protected $accessToken; /** * The query string key which is used by clients to present the access token (default: access_token)