diff --git a/src/Websocket/Websocket.php b/src/Websocket/Websocket.php index 85b40663..328571a9 100644 --- a/src/Websocket/Websocket.php +++ b/src/Websocket/Websocket.php @@ -46,11 +46,11 @@ class Websocket protected $callbacks = []; /** - * Middlewares for on connect request. + * Middleware for on connect request. * * @var array */ - protected $middlewares = []; + protected $middleware = []; /** * Pipeline instance.