Trimming comment bloat from Route class.
This commit is contained in:
parent
a86d4477ca
commit
60c9c91516
|
@ -53,7 +53,6 @@ public function call()
|
||||||
{
|
{
|
||||||
$response = call_user_func_array($this->callback, $this->parameters);
|
$response = call_user_func_array($this->callback, $this->parameters);
|
||||||
}
|
}
|
||||||
// If the route value is an array, we'll need to check it for any filters that may be attached.
|
|
||||||
elseif (is_array($this->callback))
|
elseif (is_array($this->callback))
|
||||||
{
|
{
|
||||||
$response = isset($this->callback['before']) ? Route\Filter::call($this->callback['before'], array(), true) : null;
|
$response = isset($this->callback['before']) ? Route\Filter::call($this->callback['before'], array(), true) : null;
|
||||||
|
|
Loading…
Reference in New Issue