Skip to content

Commit

Permalink
Merge pull request #2872 from adriansuter/patch-type-hint
Browse files Browse the repository at this point in the history
Remove type-hint
  • Loading branch information
l0gicgate authored Nov 4, 2019
2 parents df0d471 + 2af74a6 commit 0066f24
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Slim/Routing/RouteCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public function getRoutes(): array
*/
public function removeNamedRoute(string $name): RouteCollectorInterface
{
/** @var Route $route */
$route = $this->getNamedRoute($name);
unset($this->routes[$route->getIdentifier()]);
return $this;
Expand Down

0 comments on commit 0066f24

Please sign in to comment.