Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

self:: -> HttpRequest::

  • Loading branch information...
commit 207b444e3c9813f5491e53dbf5a949c93d600fe1 1 parent f969a73
@asm89 asm89 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Security/Http/OAuth/OAuthProvider.php
View
4 Security/Http/OAuth/OAuthProvider.php
@@ -112,7 +112,7 @@ public function getOption($name)
protected function httpRequest($url, $content = null, $method = null)
{
if (null === $method) {
- $method = (null === $content ? self::METHOD_GET : self::METHOD_POST);
+ $method = null === $content ? HttpRequest::METHOD_GET : HttpRequest::METHOD_POST;
}
$request = new HttpRequest($method, $url);
@@ -193,4 +193,4 @@ public function getAccessToken(Request $request, array $extraParameters = array(
return $response['access_token'];
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.