improve casing
This commit is contained in:
parent
8722e8b9a4
commit
9e328d33e5
|
|
@ -64,7 +64,7 @@ class Router
|
|||
$this->addRoute('DELETE', $uri, $action);
|
||||
}
|
||||
|
||||
public function websocket(string $uri, $action)
|
||||
public function webSocket(string $uri, $action)
|
||||
{
|
||||
if (!is_subclass_of($action, MessageComponentInterface::class)) {
|
||||
throw InvalidWebSocketController::withController($action);
|
||||
|
|
|
|||
Loading…
Reference in New Issue