From 5ea2974bd634bbf7990ff7e94710b12a23d801bb Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Fri, 8 Jul 2011 12:46:21 -0700 Subject: [PATCH] Trim comment bloat from Route class. --- system/route.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system/route.php b/system/route.php index df4a24a4..62ce1cce 100644 --- a/system/route.php +++ b/system/route.php @@ -43,7 +43,7 @@ public function __construct($key, $callback, $parameters = array()) * * @param mixed $route * @param array $parameters - * @return mixed + * @return Response */ public function call() { @@ -57,8 +57,6 @@ public function call() { $response = isset($this->callback['before']) ? Route\Filter::call($this->callback['before'], array(), true) : null; - // Verify that the before filters did not return a response. Before filters can override - // the request cycle to make things like authentication more convenient. if (is_null($response) and isset($this->callback['do'])) { $response = call_user_func_array($this->callback['do'], $this->parameters);