From 34650e09bb2cc896587434e261de4332e73a33b6 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 1 Feb 2018 09:34:47 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=AD=A3=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E7=A9=BA=E9=97=B4=E5=8A=A0=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WeChat/Contracts/Request.php | 6 +++--- WeChat/Contracts/Tools.php | 10 +++++----- WeChat/Contracts/WeChat.php | 12 ++++++------ WeChat/User.php | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/WeChat/Contracts/Request.php b/WeChat/Contracts/Request.php index 3af17fc..7149d87 100644 --- a/WeChat/Contracts/Request.php +++ b/WeChat/Contracts/Request.php @@ -14,9 +14,9 @@ namespace WeChat\Contracts; -use Wechat\Exceptions\InvalidArgumentException; -use Wechat\Exceptions\InvalidDecryptException; -use Wechat\Exceptions\InvalidResponseException; +use WeChat\Exceptions\InvalidArgumentException; +use WeChat\Exceptions\InvalidDecryptException; +use WeChat\Exceptions\InvalidResponseException; /** * 微信通知处理基本类 diff --git a/WeChat/Contracts/Tools.php b/WeChat/Contracts/Tools.php index c48b86e..7a5b047 100644 --- a/WeChat/Contracts/Tools.php +++ b/WeChat/Contracts/Tools.php @@ -14,14 +14,14 @@ namespace WeChat\Contracts; -use Wechat\Exceptions\InvalidArgumentException; -use Wechat\Exceptions\InvalidResponseException; -use Wechat\Exceptions\LocalCacheException; +use WeChat\Exceptions\InvalidArgumentException; +use WeChat\Exceptions\InvalidResponseException; +use WeChat\Exceptions\LocalCacheException; /** * 网络请求支持 - * Class Request - * @package Wechat + * Class Tools + * @package WeChat\Contracts */ class Tools { diff --git a/WeChat/Contracts/WeChat.php b/WeChat/Contracts/WeChat.php index 3d8222a..38c13b5 100644 --- a/WeChat/Contracts/WeChat.php +++ b/WeChat/Contracts/WeChat.php @@ -66,8 +66,8 @@ class WeChat /** * 获取访问accessToken * @return string - * @throws \Wechat\Exceptions\InvalidResponseException - * @throws \Wechat\Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ public function getAccesstoken() { @@ -143,8 +143,8 @@ class WeChat * @param string $method 当前接口方法 * @param array $arguments 请求参数 * @return mixed - * @throws \Wechat\Exceptions\InvalidResponseException - * @throws \Wechat\Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\InvalidResponseException + * @throws \WeChat\Exceptions\LocalCacheException */ protected function registerApi(&$url, $method, $arguments = []) { @@ -162,7 +162,7 @@ class WeChat * @param bool $isBuildJson * @return array * @throws InvalidResponseException - * @throws \Wechat\Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public function callPostApi($url, array $data, $isBuildJson = true) { @@ -175,7 +175,7 @@ class WeChat * @param string $url 接口URL * @return array * @throws InvalidResponseException - * @throws \Wechat\Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public function callGetApi($url) { diff --git a/WeChat/User.php b/WeChat/User.php index 759fa85..3c5805e 100644 --- a/WeChat/User.php +++ b/WeChat/User.php @@ -30,7 +30,7 @@ class User extends WeChat * @param string $remark * @return array * @throws Exceptions\InvalidResponseException - * @throws \Wechat\Exceptions\LocalCacheException + * @throws \WeChat\Exceptions\LocalCacheException */ public function updateMark($openid, $remark) {