Skip to content

Commit

Permalink
Fix Bug - support for PHP 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
georgecoca committed Sep 23, 2015
1 parent 1eff2b4 commit aadb013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OAuth/OAuth2/Service/Yahoo.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function parseAccessTokenResponse($responseBody)
protected function getExtraOAuthHeaders()
{
$encodedCredentials = base64_encode($this->credentials->getConsumerId() . ':' . $this->credentials->getConsumerSecret());
return ['Authorization' => 'Basic ' . $encodedCredentials];
return array('Authorization' => 'Basic ' . $encodedCredentials);
}

}

0 comments on commit aadb013

Please sign in to comment.