This commit is contained in:
freek 2018-11-27 21:28:14 +01:00
parent 9f2221715e
commit db45947b48
1 changed files with 0 additions and 3 deletions

View File

@ -11,7 +11,6 @@ use BeyondCode\LaravelWebSockets\WebSockets\Controllers\WebSocketHandler;
use Ratchet\WebSocket\MessageComponentInterface; use Ratchet\WebSocket\MessageComponentInterface;
use Ratchet\WebSocket\WsServer; use Ratchet\WebSocket\WsServer;
use Symfony\Component\Routing\Route; use Symfony\Component\Routing\Route;
use Ratchet\Http\HttpServerInterface;
use Symfony\Component\Routing\RouteCollection; use Symfony\Component\Routing\RouteCollection;
use BeyondCode\LaravelWebSockets\Exceptions\InvalidWebSocketController; use BeyondCode\LaravelWebSockets\Exceptions\InvalidWebSocketController;
@ -40,8 +39,6 @@ class Router
$this->post('/apps/{appId}/events', TriggerEventController::class); $this->post('/apps/{appId}/events', TriggerEventController::class);
} }
public function get(string $uri, $action) public function get(string $uri, $action)
{ {
$this->addRoute('GET', $uri, $action); $this->addRoute('GET', $uri, $action);