Commit 018e0d29 authored by Alessandro Minoccheri's avatar Alessandro Minoccheri

removed an else condition, fixed a parameter annotation and make little improvements

parent e5fe8c87
......@@ -75,7 +75,7 @@ class CompositeExpression implements \Countable
*/
public function addMultiple(array $parts = [])
{
foreach ((array) $parts as $part) {
foreach ($parts as $part) {
$this->add($part);
}
......
......@@ -473,7 +473,7 @@ class QueryBuilder
$selects = is_array($select) ? $select : func_get_args();
return $this->add('select', $selects, false);
return $this->add('select', $selects);
}
/**
......
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