@@ -423,9 +423,9 @@ public function oauth_authorize($force_login = NULL, $screen_name = NULL)
423
423
public function oauth2_token ()
424
424
{
425
425
if ($ this ->_use_curl ) {
426
- return $ this ->_oauth2_token_curl ();
426
+ return $ this ->_oauth2_tokenCurl ();
427
427
}
428
- return $ this ->_oauth2_token_no_curl ();
428
+ return $ this ->_oauth2_tokenNoCurl ();
429
429
}
430
430
431
431
/**
@@ -434,7 +434,7 @@ public function oauth2_token()
434
434
* @return string The OAuth bearer token
435
435
*/
436
436
437
- protected function _oauth2_token_curl ()
437
+ protected function _oauth2_tokenCurl ()
438
438
{
439
439
if (self ::$ _oauth_consumer_key === null ) {
440
440
throw new \Exception ('To obtain a bearer token, the consumer key must be set. ' );
@@ -498,7 +498,7 @@ protected function _oauth2_token_curl()
498
498
* @return string The OAuth bearer token
499
499
*/
500
500
501
- protected function _oauth2_token_no_curl ()
501
+ protected function _oauth2_tokenNoCurl ()
502
502
{
503
503
if (self ::$ _oauth_consumer_key == null ) {
504
504
throw new \Exception ('To obtain a bearer token, the consumer key must be set. ' );
@@ -1170,9 +1170,9 @@ protected function _callApi($httpmethod, $method, $params = array(), $multipart
1170
1170
throw new \Exception ('To call this API, the OAuth access token must be set. ' );
1171
1171
}
1172
1172
if ($ this ->_use_curl ) {
1173
- return $ this ->_callApi_curl ($ httpmethod , $ method , $ params , $ multipart , $ app_only_auth , $ internal );
1173
+ return $ this ->_callApiCurl ($ httpmethod , $ method , $ params , $ multipart , $ app_only_auth , $ internal );
1174
1174
}
1175
- return $ this ->_callApi_no_curl ($ httpmethod , $ method , $ params , $ multipart , $ app_only_auth , $ internal );
1175
+ return $ this ->_callApiNoCurl ($ httpmethod , $ method , $ params , $ multipart , $ app_only_auth , $ internal );
1176
1176
}
1177
1177
1178
1178
/**
@@ -1188,7 +1188,7 @@ protected function _callApi($httpmethod, $method, $params = array(), $multipart
1188
1188
* @return mixed The API reply, encoded in the set return_format
1189
1189
*/
1190
1190
1191
- protected function _callApi_curl ($ httpmethod , $ method , $ params = array (), $ multipart = false , $ app_only_auth = false , $ internal = false )
1191
+ protected function _callApiCurl ($ httpmethod , $ method , $ params = array (), $ multipart = false , $ app_only_auth = false , $ internal = false )
1192
1192
{
1193
1193
if ($ internal ) {
1194
1194
$ params ['adc ' ] = 'phone ' ;
@@ -1295,7 +1295,7 @@ protected function _callApi_curl($httpmethod, $method, $params = array(), $multi
1295
1295
* @return mixed The API reply, encoded in the set return_format
1296
1296
*/
1297
1297
1298
- protected function
51AD
_callApi_no_curl ($ httpmethod , $ method , $ params = array (), $ multipart = false , $ app_only_auth = false , $ internal = false )
1298
+ protected function _callApiNoCurl ($ httpmethod , $ method , $ params = array (), $ multipart = false , $ app_only_auth = false , $ internal = false )
1299
1299
{
1300
1300
if ($ internal ) {
1301
1301
$ params ['adc ' ] = 'phone ' ;
0 commit comments