Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit 51dea74

Browse files
authored
Merge pull request #84 from swooletw/develop
Fix middleware property in websocket
2 parents 208511b + 689dfba commit 51dea74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Websocket/Websocket.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ class Websocket
4646
protected $callbacks = [];
4747

4848
/**
49-
* Middlewares for on connect request.
49+
* Middleware for on connect request.
5050
*
5151
* @var array
5252
*/
53-
protected $middlewares = [];
53+
protected $middleware = [];
5454

5555
/**
5656
* Pipeline instance.

0 commit comments

Comments
 (0)