Unverified Commit 4ea3b4dc authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #3008 from AlessandroMinoccheri/improve_code_inside_query_directory

removed an else condition, fixed a parameter annotation and make little improvements
parents e5fe8c87 018e0d29
......@@ -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