We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04dd408 commit 859dddaCopy full SHA for 859ddda
src/Services/BaseService.php
@@ -37,9 +37,9 @@ class BaseService extends StrictObject {
37
38
/**
39
* 处理结果
40
- * @var array
+ * @var mixed
41
*/
42
- public $result = [];
+ public $result = null;
43
44
45
@@ -113,19 +113,19 @@ public function getErrorInfo(): array {
113
114
115
* 设置结果
116
- * @param array $arr
+ * @param mixed $arr
117
* @return void
118
119
- public function setResult(array $arr): void {
+ public function setResult($arr): void {
120
$this->result = $arr;
121
}
122
123
124
125
* 获取结果
126
- * @return array
+ * @return mixed
127
128
- public function getResult(): array {
+ public function getResult(): mixed {
129
return $this->result;
130
131
0 commit comments