Skip to content

Commit

Permalink
Apply fixes from StyleCI (#1292)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
overtrue committed Jul 8, 2018
1 parent 9eb09b4 commit ac4b8fd
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenPlatform/Auth/VerifyTicket.php
Expand Up @@ -45,6 +45,7 @@ public function __construct(Application $app)
* @param string $ticket
*
* @return $this
*
* @throws \Psr\SimpleCache\InvalidArgumentException
*/
public function setTicket(string $ticket)
Expand Down
3 changes: 3 additions & 0 deletions src/OpenPlatform/Authorizer/Aggregate/Account/Client.php
Expand Up @@ -42,6 +42,7 @@ public function create()
* @param string $openAppId 开放平台帐号appid
*
* @return mixed
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function bindTo(string $openAppId)
Expand All @@ -60,6 +61,7 @@ public function bindTo(string $openAppId)
* @param string $openAppId 开放平台帐号appid
*
* @return mixed
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function unbindFrom(string $openAppId)
Expand All @@ -76,6 +78,7 @@ public function unbindFrom(string $openAppId)
* 获取公众号/小程序所绑定的开放平台帐号.
*
* @return mixed
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getBinding()
Expand Down
1 change: 1 addition & 0 deletions src/OpenPlatform/Authorizer/MiniProgram/Auth/Client.php
Expand Up @@ -46,6 +46,7 @@ public function __construct(ServiceContainer $app, Application $component)
* @param string $code
*
* @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function session(string $code)
Expand Down
14 changes: 14 additions & 0 deletions src/OpenPlatform/Authorizer/MiniProgram/Code/Client.php
Expand Up @@ -27,6 +27,7 @@ class Client extends BaseClient
* @param string $description
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function commit(int $templateId, string $extJson, string $version, string $description)
Expand All @@ -43,6 +44,7 @@ public function commit(int $templateId, string $extJson, string $version, string
* @param string|null $path
*
* @return \EasyWeChat\Kernel\Http\Response
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getQrCode(string $path = null)
Expand All @@ -54,6 +56,7 @@ public function getQrCode(string $path = null)

/**
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getCategory()
Expand All @@ -63,6 +66,7 @@ public function getCategory()

/**
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getPage()
Expand All @@ -74,6 +78,7 @@ public function getPage()
* @param array $itemList
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function submitAudit(array $itemList)
Expand All @@ -87,6 +92,7 @@ public function submitAudit(array $itemList)
* @param int $auditId
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getAuditStatus(int $auditId)
Expand All @@ -98,6 +104,7 @@ public function getAuditStatus(int $auditId)

/**
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getLatestAuditStatus()
Expand All @@ -107,6 +114,7 @@ public function getLatestAuditStatus()

/**
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function release()
Expand All @@ -116,6 +124,7 @@ public function release()

/**
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function withdrawAudit()
Expand All @@ -125,6 +134,7 @@ public function withdrawAudit()

/**
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function rollbackRelease()
Expand All @@ -136,6 +146,7 @@ public function rollbackRelease()
* @param string $action
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function changeVisitStatus(string $action)
Expand All @@ -151,6 +162,7 @@ public function changeVisitStatus(string $action)
* @param int $grayPercentage
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function grayRelease(int $grayPercentage)
Expand All @@ -164,6 +176,7 @@ public function grayRelease(int $grayPercentage)
* 取消分阶段发布.
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function revertGrayRelease()
Expand All @@ -175,6 +188,7 @@ public function revertGrayRelease()
* 查询当前分阶段发布详情.
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function getGrayRelease()
Expand Down
2 changes: 2 additions & 0 deletions src/OpenPlatform/Authorizer/MiniProgram/Domain/Client.php
Expand Up @@ -24,6 +24,7 @@ class Client extends BaseClient
* @param array $params
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function modify(array $params)
Expand All @@ -38,6 +39,7 @@ public function modify(array $params)
* @param string $action
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function setWebviewDomain(array $domains, $action = 'add')
Expand Down
3 changes: 3 additions & 0 deletions src/OpenPlatform/Authorizer/MiniProgram/Tester/Client.php
Expand Up @@ -26,6 +26,7 @@ class Client extends BaseClient
* @param string $wechatId
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function bind(string $wechatId)
Expand All @@ -41,6 +42,7 @@ public function bind(string $wechatId)
* @param string $wechatId
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function unbind(string $wechatId)
Expand All @@ -55,6 +57,7 @@ public function unbind(string $wechatId)
*
*
* @return array|\EasyWeChat\Kernel\Support\Collection|object|\Psr\Http\Message\ResponseInterface|string
*
* @throws \EasyWeChat\Kernel\Exceptions\InvalidConfigException
*/
public function list()
Expand Down

0 comments on commit ac4b8fd

Please sign in to comment.