Skip to content

Commit

Permalink
fix: fix overwritten route option
Browse files Browse the repository at this point in the history
  • Loading branch information
Reasno committed Dec 17, 2020
1 parent f783979 commit 3dd96a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 3dd96a8

Please sign in to comment.