This commit is contained in:
2023-12-12 15:35:37 +08:00
parent 6438d8affb
commit d16adba08e
32 changed files with 285 additions and 311 deletions
+4 -4
View File
@@ -11,10 +11,10 @@ class AppConfig
{
const TYPE_WCHAT_PROJECT = 0;
const TYPE_ALI_GAME_OR_APPLET = 3;
const TYPE_QQ_GAME_OR_APPLET = 1;
const TYPE_APP_PROJECT = 2;
const int TYPE_WCHAT_PROJECT = 0;
const int TYPE_ALI_GAME_OR_APPLET = 3;
const int TYPE_QQ_GAME_OR_APPLET = 1;
const int TYPE_APP_PROJECT = 2;
/**
+2 -2
View File
@@ -37,7 +37,7 @@ abstract class Multiprogramming implements Progaram
/**
* @param $code
*/
public function setErrorCode($code)
public function setErrorCode($code): void
{
$this->errorCode = $code;
}
@@ -45,7 +45,7 @@ abstract class Multiprogramming implements Progaram
/**
* @param $message
*/
public function setErrorMessage($message)
public function setErrorMessage($message): void
{
$this->errorMsg = $message;
}
+1 -1
View File
@@ -107,7 +107,7 @@ class Result
* @param $key
* @param $data
* @return $this
* @throws Exception
* @throws
*/
public function setAttr($key, $data): static
{