diff --git a/aop/AlipayMobilePublicMultiMediaClient.php b/aop/AlipayMobilePublicMultiMediaClient.php index 1ae9221996..d9ca9a9aff 100644 --- a/aop/AlipayMobilePublicMultiMediaClient.php +++ b/aop/AlipayMobilePublicMultiMediaClient.php @@ -100,7 +100,9 @@ public function getContents() /** * - * @param $request + * @param string $header + * @param string $body + * @param string $httpCode * @return text | bin */ public function execute($header = '', $body = '', $httpCode = '') diff --git a/aop/AlipayMobilePublicMultiMediaExecute.php b/aop/AlipayMobilePublicMultiMediaExecute.php index af27641372..ba4cf726c1 100644 --- a/aop/AlipayMobilePublicMultiMediaExecute.php +++ b/aop/AlipayMobilePublicMultiMediaExecute.php @@ -35,7 +35,7 @@ function __construct($header, $body, $httpCode) /** * - * @return text | bin + * @return int */ public function getCode() { @@ -44,7 +44,7 @@ public function getCode() /** * - * @return text | bin + * @return string */ public function getMsg() { @@ -71,7 +71,7 @@ public function getType() /** * - * @return text | bin + * @return int */ public function getContentLength() { @@ -94,7 +94,7 @@ public function getFileSuffix($fileType) /** * - * @return text | bin + * @return string */ public function getBody() { @@ -104,7 +104,7 @@ public function getBody() /** * 获取参数 - * @return text | bin + * @return string */ public function getParams() { diff --git a/aop/AopCertClient.php b/aop/AopCertClient.php index e44371db60..b6db19bec8 100644 --- a/aop/AopCertClient.php +++ b/aop/AopCertClient.php @@ -92,7 +92,7 @@ function __construct() { // 优先从Content字段获取内容, content 未设置内容则从文件路径中读取内容 $alipayPublicContent = !$this->checkEmpty($config->getAlipayPublicCertContent())?$config->getAlipayPublicCertContent():file_get_contents($config->getAlipayPublicCertPath()); $this->alipayrsaPublicKey = $this->getPublicKeyFromContent($alipayPublicContent); - + $appCertContent = !$this->checkEmpty($config->getAppCertContent())?$config->getAppCertContent():file_get_contents($config->getAppCertPath()); $this->appCertSN = $this->getCertSNFromContent($appCertContent); @@ -548,7 +548,7 @@ public function getSignContentUrlencode($params) { /** * 建立请求,以表单HTML形式构造(默认) * @param $para_temp 请求参数数组 - * @return 提交表单HTML文本 + * @return string */ protected function buildRequestForm($para_temp) { $sHtml = "
"; @@ -1050,7 +1050,8 @@ function parserXMLSource($responseContent, $nodeName, $nodeIndex) { * @param $signData * @param $resp * @param $respObject - * @throws Exception + * @return false|void + * @throws \Exception */ public function checkResponseSign($request, $signData, $resp, $respObject) { if (!$this->checkEmpty($this->alipayPublicKey) || !$this->checkEmpty($this->alipayrsaPublicKey)) { @@ -1300,4 +1301,4 @@ function echoDebug($content) { echo "
" . $content; } } -} \ No newline at end of file +} diff --git a/aop/AopClient.php b/aop/AopClient.php index 6e3455cf4d..b3af1033b4 100644 --- a/aop/AopClient.php +++ b/aop/AopClient.php @@ -440,7 +440,7 @@ public function pageExecute($request, $httpmethod = "POST", $appAuthToken = null /** * 建立请求,以表单HTML形式构造(默认) * @param $para_temp 请求参数数组 - * @return 提交表单HTML文本 + * @return string */ protected function buildRequestForm($para_temp) { @@ -1317,4 +1317,4 @@ function echoDebug($content) } -} \ No newline at end of file +}