Skip to content

Commit

Permalink
Delete unuse return
Browse files Browse the repository at this point in the history
  • Loading branch information
brtriver committed Jan 3, 2016
1 parent 102f77d commit f1346cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ public function getQueue()
public function actionQueue($callable, $args)
{
return function (Request $request, Response $response) use ($callable, $args){
return call_user_func($callable, $args, $this);

return $response;
return call_user_func($callable, $args, $this);
};
}
}

0 comments on commit f1346cb

Please sign in to comment.