Avoid unnecessary end() in Table::command() function.

This commit is contained in:
Franz Liedke 2012-06-06 12:20:30 +03:00
parent d9802fe656
commit 8fc80c47d9
1 changed files with 1 additions and 3 deletions

View File

@ -393,9 +393,7 @@ protected function command($type, $parameters = array())
{
$parameters = array_merge(compact('type'), $parameters);
$this->commands[] = new Fluent($parameters);
return end($this->commands);
return $this->commands[] = new Fluent($parameters);
}
/**