File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function handleWrite()
6565 public function close ()
6666 {
6767 if ($ this ->socket === false ) {
68- return false ;
68+ return ;
6969 }
7070
7171 $ 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)
5353 $ this ->buffer ->send ($ data , $ remoteAddress );
5454 }
5555
56-
5756 public function pause ()
5857 {
5958 $ this ->loop ->removeReadStream ($ this ->socket );
@@ -85,7 +84,7 @@ public function onReceive($message)
8584
8685 public function close ()
8786 {
88- if ($ this ->socket === false ) {
87+ if ($ this ->socket === false ) {
8988 return ;
9089 }
9190
@@ -119,9 +118,4 @@ private function sanitizeAddress($address)
119118 }
120119 return $ address ;
121120 }
122-
123- public function __toString ()
124- {
125- return $ this ->getAddress () . ' ( ' . $ this ->socket . ') ' ;
126- }
127121}
You can’t perform that action at this time.
0 commit comments