Skip to content

Commit

Permalink
Fix more phpdoc tags
Browse files Browse the repository at this point in the history
  • Loading branch information
wi1dcard committed Dec 4, 2018
1 parent cc55ad3 commit a10a2cb
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/BaseServer.php
Expand Up @@ -24,7 +24,6 @@ abstract class BaseServer extends Base
/**
* BaseServer constructor.
*
* @throws \ErrorException
*/
public function __construct()
{
Expand Down
1 change: 0 additions & 1 deletion src/Command/ServerCommand.php
Expand Up @@ -27,7 +27,6 @@ public function __construct()
* 启动服务
*
* @throws \ErrorException
* @throws \SMProxy\SMProxyException
*/
public function start()
{
Expand Down
1 change: 0 additions & 1 deletion src/MysqlClient.php
Expand Up @@ -20,7 +20,6 @@ abstract class MysqlClient extends Base
/**
* MysqlClient constructor.
*
* @throws SMProxyException
*/
public function __construct()
{
Expand Down
6 changes: 1 addition & 5 deletions src/MysqlPool/MySQLPool.php
Expand Up @@ -54,10 +54,8 @@ public static function init(array $connsConfig)
* 回收连接。
*
* @param MysqlProxy $conn
* @param bool $busy
* @param bool $busy
*
* @throws MySQLException
* @throws \SMProxy\SMProxyException
*/
public static function recycle(MysqlProxy $conn, bool $busy = true)
{
Expand Down Expand Up @@ -238,8 +236,6 @@ public static function initConn(\swoole_server $server, int $fd, string $connNam
* @param Client $cli
* @param string $connName
*
* @throws MySQLException
* @throws \SMProxy\SMProxyException
*/
public static function destruct(Client $cli, string $connName)
{
Expand Down
5 changes: 2 additions & 3 deletions src/SMProxyServer.php
Expand Up @@ -194,10 +194,9 @@ public function onReceive(\swoole_server $server, int $fd, int $reactor_id, stri
/**
* 客户端断开连接.
*
* @param $server
* @param $fd
* @param \swoole_server $server
* @param int $fd
*
* @throws MySQLException
*/
public function onClose(\swoole_server $server, int $fd)
{
Expand Down

0 comments on commit a10a2cb

Please sign in to comment.