8000 Use correct camelCasing for _oauth2TokenCurl and -NoCurl · mkhader88/codebird-php@26f88f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 26f88f7

Browse files
committed
Use correct camelCasing for _oauth2TokenCurl and -NoCurl
1 parent f0da214 commit 26f88f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/codebird.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ public function oauth_authorize($force_login = NULL, $screen_name = NULL)
423423
public function oauth2_token()
424424
{
425425
if ($this->_use_curl) {
426-
return $this->_oauth2_tokenCurl();
426+
return $this->_oauth2TokenCurl();
427427
}
428-
return $this->_oauth2_tokenNoCurl();
428+
return $this->_oauth2TokenNoCurl();
429429
}
430430

431431
/**
@@ -434,7 +434,7 @@ public function oauth2_token()
434434
* @return string The OAuth bearer token
435435
*/
436436

437-
protected function _oauth2_tokenCurl()
437+
protected function _oauth2TokenCurl()
438438
{
439439
if (self::$_oauth_consumer_key === null) {
440440
throw new \Exception('To obtain a bearer token, the consumer key must be set.');
@@ -498,7 +498,7 @@ protected function _oauth2_tokenCurl()
498498
* @return string The OAuth bearer token
499499
*/
500500

501-
protected function _oauth2_tokenNoCurl()
501+
protected function _oauth2TokenNoCurl()
502502
{
503503
if (self::$_oauth_consumer_key == null) {
504504
throw new \Exception('To obtain a bearer token, the consumer key must be set.');

0 commit comments

Comments
 (0)
0