Avoid unnecessary end() in Table::command() function.
This commit is contained in:
@@ -393,9 +393,7 @@ class Table {
|
|||||||
{
|
{
|
||||||
$parameters = array_merge(compact('type'), $parameters);
|
$parameters = array_merge(compact('type'), $parameters);
|
||||||
|
|
||||||
$this->commands[] = new Fluent($parameters);
|
return $this->commands[] = new Fluent($parameters);
|
||||||
|
|
||||||
return end($this->commands);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user