elbart

fixed some typos

@@ -120,7 +120,7 @@ class OAuth2_Service @@ -120,7 +120,7 @@ class OAuth2_Service
120 } 120 }
121 121
122 /** 122 /**
123 - * get access token of from service, has to be called after successfull authorization 123 + * get access token of from service, has to be called after successful authorization
124 * 124 *
125 * @param string $code optional, if no code given method tries to get it out of $_GET 125 * @param string $code optional, if no code given method tries to get it out of $_GET
126 */ 126 */
@@ -242,7 +242,6 @@ class OAuth2_Service @@ -242,7 +242,6 @@ class OAuth2_Service
242 242
243 $parameters = null; 243 $parameters = null;
244 244
245 - $header = array();  
246 $header = array('Authorization: OAuth ' . $token->getAccessToken()); 245 $header = array('Authorization: OAuth ' . $token->getAccessToken());
247 246
248 $http = new OAuth2_HttpClient($endpoint, $method, $parameters, $header); 247 $http = new OAuth2_HttpClient($endpoint, $method, $parameters, $header);
@@ -303,7 +302,6 @@ class OAuth2_Token @@ -303,7 +302,6 @@ class OAuth2_Token
303 public function getLifeTime() { 302 public function getLifeTime() {
304 return $this->_lifeTime; 303 return $this->_lifeTime;
305 } 304 }
306 -  
307 } 305 }
308 306
309 class OAuth2_DataStore_Session extends OAuth2_DataStore_Abstract 307 class OAuth2_DataStore_Session extends OAuth2_DataStore_Abstract
@@ -545,7 +543,6 @@ class OAuth2_HttpClient @@ -545,7 +543,6 @@ class OAuth2_HttpClient
545 public function setDebug($debug) { 543 public function setDebug($debug) {
546 $this->_debug = $debug; 544 $this->_debug = $debug;
547 } 545 }
548 -  
549 } 546 }
550 547
551 class OAuth2_Exception extends Exception {} 548 class OAuth2_Exception extends Exception {}