We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abdeaa5 commit 218b6bbCopy full SHA for 218b6bb
1 file changed
system/Router/Router.php
@@ -653,14 +653,12 @@ protected function setDefaultController()
653
/**
654
* @param callable|string $handler
655
*
656
- * @return static
+ * @return void
657
*/
658
protected function setMatchedRoute(string $route, $handler)
659
{
660
$this->matchedRoute = [$route, $handler];
661
662
$this->matchedRouteOptions = $this->collection->getRoutesOptions($route);
663
-
664
- return $this;
665
}
666
0 commit comments