Skip to content

Commit 2c60d1a

Browse files
committed
Merge pull request #47 from react-php/socket-connection-event
[Socket] Rename connect event to connection
2 parents 1932a89 + 100f6ac commit 2c60d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function handleConnection($socket)
4343

4444
$client = $this->createConnection($socket);
4545

46-
$this->emit('connect', array($client));
46+
$this->emit('connection', array($client));
4747
}
4848

4949
public function getPort()

0 commit comments

Comments
 (0)