Skip to content

Commit

Permalink
fix: swoft-cloud/swoft/issues/1334 event name is error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Sep 13, 2020
1 parent d966759 commit f5b793d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/websocket-server/src/WsServerEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ final class WsServerEvent
/**
* On websocket opened: before
*/
public const OPEN_BEFORE = 'swoft.ws.server.open.after';
public const OPEN_BEFORE = 'swoft.ws.server.open.before';

/**
* On websocket opened: after
Expand Down

0 comments on commit f5b793d

Please sign in to comment.