Skip to content

Commit

Permalink
[Refactoring] OAuth1 component
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Aug 13, 2015
1 parent 9384db2 commit e8d2951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OAuth/SignatureMethodHMACSHA1.php
Expand Up @@ -15,7 +15,7 @@ public function get_name()
public function buildSignature(Request $request, Consumer $consumer, Token $token)
{
$signatureBase = $request->get_signature_base_string();
$parts = array($consumer->secret, null !== $token ? $token->secret : "");
$parts = array($consumer->secret, null !== $token ? $token->secret : '');

$parts = Util::urlencode_rfc3986($parts);
$key = implode('&', $parts);
Expand Down

0 comments on commit e8d2951

Please sign in to comment.