Commit 8fc80c47 authored by Franz Liedke's avatar Franz Liedke

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

parent d9802fe6
......@@ -393,9 +393,7 @@ class Table {
{
$parameters = array_merge(compact('type'), $parameters);
$this->commands[] = new Fluent($parameters);
return end($this->commands);
return $this->commands[] = new Fluent($parameters);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment