diff --git a/src/App.php b/src/App.php index 05089bf..1112fbe 100644 --- a/src/App.php +++ b/src/App.php @@ -271,7 +271,7 @@ public function addRoute($httpMethod, string $route, $handler, array $options = if ($handler instanceof \Closure) { $handler = $handler->bindTo($this->bound, $this->bound); } - return $router->addRoute($httpMethod, $route, $handler, $options = []); + return $router->addRoute($httpMethod, $route, $handler, $options); } /**