Skip to content

Commit 1b77bdf

Browse files
authored
Optimized the code of WebSocketHandeShakeException which should inheritance BadRequestHttpException. (#5411)
1 parent e48b497 commit 1b77bdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Exception/WebSocketHandeShakeException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
*/
1212
namespace Hyperf\WebSocketServer\Exception;
1313

14-
use Hyperf\Server\Exception\ServerException;
14+
use Hyperf\HttpMessage\Exception\BadRequestHttpException;
1515

16-
class WebSocketHandeShakeException extends ServerException
16+
class WebSocketHandeShakeException extends BadRequestHttpException
1717
{
1818
}

0 commit comments

Comments
 (0)