Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da867a0

Browse files
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
1 parent 5e8047a commit da867a0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/codebird.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ protected function _stringifyNullBoolParams($apiparams)
527527
* @param string $fn Function called
528528
* @param array $apiparams byref API parameters
529529
*
530-
* @return array (string method, string method_template)
530+
* @return string[] (string method, string method_template)
531531
*/
532532
protected function _mapFnToApiMethod($fn, &$apiparams)
533533
{
@@ -662,7 +662,7 @@ public function oauth2_token()
662662
/**
663663
* Gets a cURL handle
664664
* @param string $url the URL for the curl initialization
665-
* @return cURL handle
665+
* @return resource handle
666666
*/
667667
protected function getCurlInitialization($url)
668668
{
@@ -798,6 +798,9 @@ protected function getProxyAuthentication()
798798
return $this->getProxyData('authentication');
799799
}
800800

801+
/**
802+
* @param string $name
803+
*/
801804
private function getProxyData($name)
802805
{
803806
if (empty($this->_proxy[$name])) {
@@ -1589,7 +1592,7 @@ protected function _parseApiHeaders($reply) {
15891592
*
15901593
* @param string $reply The actual HTTP body, JSON-encoded or URL-encoded
15911594
*
1592-
* @return array|object|string The parsed reply
1595+
* @return string The parsed reply
15931596
*/
15941597
protected function _parseApiReply($reply)
15951598
{

0 commit comments

Comments
 (0)