From 9ed6ccc27f907c55535840cf9c4f00e2f4dc7a2f Mon Sep 17 00:00:00 2001 From: Joe Green Date: Tue, 10 Jun 2014 21:56:17 +0100 Subject: [PATCH] Return $this from "controller()" in routecollector --- src/Phroute/RouteCollector.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Phroute/RouteCollector.php b/src/Phroute/RouteCollector.php index 32d4eb6..8111850 100644 --- a/src/Phroute/RouteCollector.php +++ b/src/Phroute/RouteCollector.php @@ -164,6 +164,8 @@ public function controller($route, $classname) } } } + + return $this; } public function getValidMethods()