Skip to content

Commit

Permalink
Return $this from "controller()" in routecollector
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjgreen committed Jun 10, 2014
1 parent e3d758e commit 9ed6ccc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Phroute/RouteCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ public function controller($route, $classname)
}
}
}

return $this;
}

public function getValidMethods()
Expand Down

0 comments on commit 9ed6ccc

Please sign in to comment.