File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function handleWrite()
65
65
public function close ()
66
66
{
67
67
if ($ this ->socket === false ) {
68
- return false ;
68
+ return ;
69
69
}
70
70
71
71
$ this ->emit ('close ' , array ($ this ));
Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ public function send($data, $remoteAddress = null)
53
53
$ this ->buffer ->send ($ data , $ remoteAddress );
54
54
}
55
55
56
-
57
56
public function pause ()
58
57
{
59
58
$ this ->loop ->removeReadStream ($ this ->socket );
@@ -85,7 +84,7 @@ public function onReceive($message)
85
84
86
85
public function close ()
87
86
{
88
- if ($ this ->socket === false ) {
87
+ if ($ this ->socket === false ) {
89
88
return ;
90
89
}
91
90
@@ -119,9 +118,4 @@ private function sanitizeAddress($address)
119
118
}
120
119
return $ address ;
121
120
}
122
-
123
- public function __toString ()
124
- {
125
- return $ this ->getAddress () . ' ( ' . $ this ->socket . ') ' ;
126
- }
127
121
}
You can’t perform that action at this time.
0 commit comments