Skip to content

Commit fff0954

Browse files
authored
Update TCP connection status constants
1 parent 9e43049 commit fff0954

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Connection/TcpConnection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,21 +98,21 @@ class TcpConnection extends ConnectionInterface implements JsonSerializable
9898
*
9999
* @var int
100100
*/
101-
public const STATUS_ENDING = 16;
101+
public const STATUS_ENDING = 4;
102102

103103
/**
104104
* Status closing.
105105
*
106106
* @var int
107107
*/
108-
public const STATUS_CLOSING = 4;
108+
public const STATUS_CLOSING = 8;
109109

110110
/**
111111
* Status closed.
112112
*
113113
* @var int
114114
*/
115-
public const STATUS_CLOSED = 8;
115+
public const STATUS_CLOSED = 16;
116116

117117
/**
118118
* Maximum string length for cache

0 commit comments

Comments
 (0)