Skip to content

Commit 04d8e0c

Browse files
authored
Format code (#5172)
1 parent 41be9cf commit 04d8e0c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Exception/ConnectException.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
*/
1212
namespace Hyperf\WebSocketClient\Exception;
1313

14-
class ConnectException extends \RuntimeException
14+
use RuntimeException;
15+
16+
class ConnectException extends RuntimeException
1517
{
1618
}

src/Frame.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
*/
1212
namespace Hyperf\WebSocketClient;
1313

14+
use Stringable;
1415
use Swoole\WebSocket\Frame as SwFrame;
1516

16-
class Frame implements \Stringable
17+
class Frame implements Stringable
1718
{
1819
public bool $finish = true;
1920

0 commit comments

Comments
 (0)