Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix php-doc #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion aop/AlipayMobilePublicMultiMediaClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '')
Expand Down
10 changes: 5 additions & 5 deletions aop/AlipayMobilePublicMultiMediaExecute.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function __construct($header, $body, $httpCode)

/**
*
* @return text | bin
* @return int
*/
public function getCode()
{
Expand All @@ -44,7 +44,7 @@ public function getCode()

/**
*
* @return text | bin
* @return string
*/
public function getMsg()
{
Expand All @@ -71,7 +71,7 @@ public function getType()

/**
*
* @return text | bin
* @return int
*/
public function getContentLength()
{
Expand All @@ -94,7 +94,7 @@ public function getFileSuffix($fileType)

/**
*
* @return text | bin
* @return string
*/
public function getBody()
{
Expand All @@ -104,7 +104,7 @@ public function getBody()

/**
* 获取参数
* @return text | bin
* @return string
*/
public function getParams()
{
Expand Down
9 changes: 5 additions & 4 deletions aop/AopCertClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -548,7 +548,7 @@ public function getSignContentUrlencode($params) {
/**
* 建立请求,以表单HTML形式构造(默认)
* @param $para_temp 请求参数数组
* @return 提交表单HTML文本
* @return string
*/
protected function buildRequestForm($para_temp) {
$sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->gatewayUrl."?charset=".trim($this->postCharset)."' method='POST'>";
Expand Down Expand Up @@ -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)) {
Expand Down Expand Up @@ -1300,4 +1301,4 @@ function echoDebug($content) {
echo "<br/>" . $content;
}
}
}
}
4 changes: 2 additions & 2 deletions aop/AopClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -1317,4 +1317,4 @@ function echoDebug($content)
}


}
}