diff --git a/wchat/officialaccount/Tag.php b/wchat/officialaccount/Tag.php index 4be2cbe..f448768 100644 --- a/wchat/officialaccount/Tag.php +++ b/wchat/officialaccount/Tag.php @@ -4,6 +4,8 @@ namespace wchat\officialaccount; +use wchat\common\Result; + class Tag extends AfficialAccount { @@ -18,7 +20,7 @@ class Tag extends AfficialAccount /** * @param $tagName - * @return mixed + * @return Result * @throws \Exception */ public function generate($tagName) @@ -36,7 +38,7 @@ class Tag extends AfficialAccount /** * @param $id * @param $tagName - * @return mixed + * @return Result * @throws \Exception */ public function tag_edit($id, $tagName) @@ -56,8 +58,7 @@ class Tag extends AfficialAccount /** * @param $id - * @param $tagName - * @return mixed + * @return Result * @throws \Exception */ public function tag_delete($id) @@ -74,7 +75,7 @@ class Tag extends AfficialAccount /** * @param $id * @param string[] $openid_list - * @return mixed + * @return Result * @throws \Exception */ public function user_batch_add_tag($id, array $openid_list) @@ -93,7 +94,7 @@ class Tag extends AfficialAccount /** * @param $id * @param string[] $openid_list - * @return mixed + * @return Result * @throws \Exception */ public function user_batch_remove_tag($id, array $openid_list) @@ -110,7 +111,7 @@ class Tag extends AfficialAccount /** - * @return mixed + * @return Result * @throws \Exception */ public function tagList() @@ -124,7 +125,7 @@ class Tag extends AfficialAccount /** - * @return mixed + * @return Result * @throws \Exception */ public function tag_fans_list() @@ -138,7 +139,7 @@ class Tag extends AfficialAccount /** * @param $openid - * @return mixed + * @return Result * @throws \Exception */ public function user_tag($openid)