Skip to content

Commit

Permalink
Merge pull request #143 from samsonasik/re-create-141
Browse files Browse the repository at this point in the history
re-create 141
  • Loading branch information
Gianluca Arbezzano committed Nov 28, 2015
2 parents 25ac241 + 82dabc9 commit b82f564
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,13 @@ public function run($request = null, $response = null)
/**
* Handle Route.
*
* @param RouteInfoInterface $routeInfo
* @param mixed $routeInfo
* @param EventInterface $event
*
* @throws RuntimeException if dispatch does not return RouteInfo object.
*/
private function handleRoute(
RouteInfoInterface $routeInfo,
EventInterface $event
) {
private function handleRoute($routeInfo, EventInterface $event)
{
if (!$routeInfo instanceof RouteInfoInterface) {
throw new RuntimeException('Dispatch does not return RouteInfo object');
}
Expand Down

0 comments on commit b82f564

Please sign in to comment.